Jump to content
Search Community

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

Xristi
Moderator Tag

Recommended Posts

Posted

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

GreenSock
Posted

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

Posted

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
GreenSock
Posted

No problem. Glad you figured it out.

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.
×
×
  • Create New...