Does Loader not throw an error event rather an immediate error?
Try adding a listener for the IOerror (and security error, just to be
safe) events instead.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ben Marchbanks
Sent: 16 January 2008 13:5
Also, remember that you don't actually add the listeners directly to the
loader, but instead add them to loader.contentLoaderInfo. See the example
on the livedocs:
http://livedocs.adobe.com/flex/201/langref/flash/display/Loader.html.
- Dan Freiman
On Jan 16, 2008 8:58 AM, Jim Hayes <[EMAIL PROTE
Ben,
Try registering with loader.contentLoaderInfo for the various load
events (especially IOErrorEvent.IO_ERROR) to see what could be going
wrong. Since the load is asynchronous, Flash may not be able to throw an
error immediately, so it has to dispatch an error event.
--
Maciek Sakrejda
Truvis
3 matches
Mail list logo