Thanks for the idea Alex. I just finished looking through my code and can't
find anything to indicate something should be available for GC before all
listeners are cleaned up.

The really confusing thing is that all the pieces of this system worked just
fine before I started my "overhaul" of it. The changes I made were mainly in
navigation (page to page) and some minor tweaks here and there. I just can't
figure out how the changes I made could have gotten me to this spot.

Any other ideas, theories or shots in the dark that I could look at? I am
running out of ideas myself at this point.

Thanks.


On 11/5/07, Alex Harui <[EMAIL PROTECTED]> wrote:
>
>  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:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Steve Mathews
> *Sent:* Monday, November 05, 2007 3:46 PM
> *To:* flexcoders@yahoogroups.com
> *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