Jump to content
Search Community

LoaderMax doesn't load one of four swfs outside the Flash IDE

Xristi test
Moderator Tag

Recommended Posts

Hi Carl,

 

I know you don't deal with Flash anymore, but I am desperate to finish this rather large program and graduate with my Ph.D. in December. I have four child swf files that are loaded individually and never appear at the same time. They all load perfectly when the parent is run in the Flash IDE (AS3). However, running the parent outside the IDE as an swf results in only 3 of the 4 loading. I have checked each child swf variable declaration and loader function and all four are identical. Could the estimatedBytes be a determinant? 

 

var queueIE:LoaderMax = new LoaderMax();

var queueLoader:SWFLoader = new SWFLoader("IntExtCode.swf", {name:"swfIE_loader", estimatedBytes:210000, container:this, x:5, y:5, autoPlay:false, onComplete:completeIE_Handler});

 

function completeIE_Handler(event:LoaderEvent):void

{

      event.target.rawContent.setProbNumber(problemNumber);

      event.target.rawContent.setProbText(problemText);

      var myQueue:MovieClip = MovieClip(event.target.rawContent);

      myQueue.closeButton.addEventListener(MouseEvent.Click, closeIE_Utility);

}

 

function closeIE_Utility(event:MouseEvent):void

{

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

}

 

function loadIE_FlowChart():void

{

     this.addChildAt(queueIELoader.content, this.numChildren);

     queueIE.append(queueIELoader);

     queueIE.load();

}

 

Thank you for any help you can give me,

 

ChristiAnne

 

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