try to use with the combination of timer class to be fired with a little delay
best On 1/18/07, Oscar <[EMAIL PROTECTED]> wrote:
I wonder if someone else has have this problem. I have a Flex 2 application with a SWFLoader that loads Flash MX 2004 movies. While switching movies I get this same error: > AppName: iexplore.exe AppVer: 6.0.2800.1106 ModName: fldbg9.ocx It is not consistent. It does not happen all the time. Most of the movies have other children movies. When I debug I see in the console how some of the children movies are unloaded, and then the new movie is loaded. I suspect some of the children movies are not unloaded and remain some place in memory and probably intefere with the new movie being loaded. I guess the Flash movies are throwing some kind of error when this happens and then makes the broswer to crash. So I guess my question is, How can I wait for all the children movies of a Flash movie loaded in a SWFLoader to be unloaded before I load the next movie? I know there is an 'unload' event in the SWFLoader but this one gets fired before the children movies in the parent Flash movie start unloading. It seems that it only detects when the parent movie has been unloaded. And Is there any way to catch the errors that happen in the Flash movie in Flex? I am thinking that in that way I can prevent the browser from crashing if I can catch them and do something then. Thanks, --- In [email protected] <flexcoders%40yahoogroups.com>, "flexnewbie06" <[EMAIL PROTECTED]> wrote: > > I have an error, that I hope I can get some help with. > > I am developing a Flex project and found that it would randomly throw > an error in IE6 > AppName: iexplore.exe AppVer: 6.0.2800.1106 ModName: fldbg9.ocx > ModVer: 9.0.16.0 Offset: 00082321 > > I was able to find what was throwing the error so I created a simple > app to recereate it. > > The app has: > SWFLoader > List - List items are Flash 8 created swf's (no code executing in > them) > > When an item is selected on the list the SWFLoader.source is changed > to the item. before the item is changed it throws the above > error...This occured on a seperate machine i tested it on, instead of > fldbg9.ocx it just said flash9.ocx > > Is this a bug that i cannot avoid because i'm trying to run flash 8 > in flex?? or could anyone lend any suggestions as to how maybe i can > avoid this error. > > My only other option is to re-develop my app in Flash 8.. > > Thanks! Jenn >
-- ---------------------------- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta

