Some version of the player used to crash when display objects that had
rollover handlers under the mouse were removed and GC'd.  I do not know
the status of the fix.  The workaround was to place a "shield" between
the mouse and the display objects before removing them.

 

In general, I would not remove objects such that they can get GC'd until
any listeners they might have were removed.  I would not suspect
getDefinition.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Steve Mathews
Sent: Monday, November 05, 2007 3:46 PM
To: [email protected]
Subject: [flexcoders] Player crash on GC

 

I have run into a roadblock that I can't seem to figure out.

I have an application that creates and displays a presentation (think
PowerPoint). During an overhaul of the code the player started
crashing. It seems to be related to garbage collection in some way as
I can display the exact same page a few times in a row then it will
crash say on the fourth time. Or using FB3 I can click the Force GC
button after a few pages and the player will crash also.

One area of concern is that these pages contain "components" which are
just swf's with a class in them. I use getDefinition to instantiate
the class. Although this has worked quite well up till this point, I
worry that this is now part of the problem.

Has anyone seen any issues with getDefinition or GC crashing the player?

Thanks.

 

Reply via email to