Depends on how you set up the code. Show us what your code looks like. The moduleLoader should be a parent of the module.
Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui From: [email protected] [mailto:[email protected]] On Behalf Of xyrer Sent: Wednesday, September 09, 2009 8:57 AM To: [email protected] Subject: [flexcoders] unload module from within module Hi, I'm loading a swf inside a moduleloader, but searching across all the internet, I haven't seen any way to unload the module from within, like having a close button inside to unload itself. I have tried with this.removeChild(this) and it doesn't work, tried parent.removeChild(this) and it removes the whole moduleloader, the only thing I can do is Application.application.MyModule.unloadModule() but I think that's too hardcoded, is there a way to refer to the moduleloader from within the module? thanks.

