What is the proper method to stop loading a Flex Module before it has completely loaded?

Posted by Michael Prescott on Stack Overflow See other posts from Stack Overflow or by Michael Prescott
Published on 2010-06-17T19:21:48Z Indexed on 2010/06/17 19:23 UTC
Read the original article Hit count: 180

Filed under:
|
|

I seem to recall that Loader.unload() could once be used to stop loading a swf before it had finished loading. I can no longer find documentation or the blog where I read this. Perhaps it was an unofficial feature. Anyhow, IModuleInfo, returned by ModuleManager.getModule() has an unload() method. If I want to halt loading a Flex Module that is in progress, do I just call iModuleInfo_instance.unload()?

© Stack Overflow or respective owner

Related posts about flex

Related posts about actionscript