Xristi

Loadermax unloads the swf AND other (but not all) movieclips

Recommended Posts

Hi,

 

I know you are not supporting Flash AS3 anymore, however, perhaps you can give me a quick tip (you did this on another issue and your tip solved the problem) as to why some of the movieclips on the parent disappear when the SWF is unloaded. I am using-

 

var queueIE:LoaderMax = new LoaderMax;

 

queueIE.append(new SWFLoader("IntExtCode.swf", {name:"swfIE_Loader",estimatedBytes:90000, container:this, x:5,y:10, autoplay:false, onComplete:completeIE_Handler}));

 

in the complete handler is a listener for the close button which executes:

 

queue.getLoader("swfIE_Loader").unload();

 

the swf is unloaded very nicely, but several of the movieclips (but not all) are removed as well. Any thoughts would be greatly appreciated!!

 

Xristi

Share this post


Link to post
Share on other sites

Hm, I can't imagine why that'd happen, unless those MovieClips are being unloaded as well.

Share this post


Link to post
Share on other sites

I found it. I did it. I made the MCs alpha = 0 when the swf loaded. It's been months since I have coded this part of my ITS and I forgot I had done it to avoid some of the MCs floating over the swf - a jury-rigged solution to be sure...again, thank you for your quick attention to my question and I apologize for posting unnecessarily.

  • Like 1

Share this post


Link to post
Share on other sites

No problem. Glad you figured it out.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.