Re: [Flashcoders] Garbage Collection difficulty

2009-02-02 Thread Leandro Ferreira
esday, 28 January 2009 17:34 > To: Flash Coders List > Subject: Re: [Flashcoders] Garbage Collection difficulty > > Ah yes... I knew I read it somewhere... It's in that Grant Skinner article. > > > *Deferred GC and Indeterminacy* > A *very* important thing to understand

RE: [Flashcoders] Garbage Collection difficulty

2009-01-29 Thread Sander Schuurman
...@chattyfig.figleaf.com] On Behalf Of Nate Beck Sent: Wednesday, 28 January 2009 17:34 To: Flash Coders List Subject: Re: [Flashcoders] Garbage Collection difficulty Ah yes... I knew I read it somewhere... It's in that Grant Skinner article. *Deferred GC and Indeterminacy* A *very* impo

Re: [Flashcoders] Garbage Collection difficulty

2009-01-28 Thread Nate Beck
{ > disposeLarge(); > > removeChild(_thumb); > _thumb.bitmapData.dispose(); > _thumb = null > } > > } > > Anyone some tips? The large bitmap stays in memory... > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com

Re: [Flashcoders] Garbage Collection difficulty

2009-01-28 Thread Nate Beck
ata.dispose(); >> _large = null; >> } >> } >> >> public function dispose() :void >> { >> disposeLarge(); >> >> removeChild(_thumb); >> _thumb.bitmapData.dispose(); >> _thumb = null >> } >> >> } >> >&g

RE: [Flashcoders] Garbage Collection difficulty

2009-01-27 Thread Sander Schuurman
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike Sent: Wednesday, 21 January 2009 21:18 To: Flash Coders List Subject: Re: [Flashcoders] Garbage Collection difficulty Hi, I think if you use it locally, you still have to "dispose" of it: http://www.bartclaesse

Re: [Flashcoders] Garbage Collection difficulty

2009-01-21 Thread Glen Pike
utomatic? I must concentrate on the _large Sprite, isn't it? -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike Sent: Wednesday, 21 January 2009 12:20 To: Flash Coders List Subject: Re: [Flashc

RE: [Flashcoders] Garbage Collection difficulty

2009-01-21 Thread Sander Schuurman
January 2009 12:20 To: Flash Coders List Subject: Re: [Flashcoders] Garbage Collection difficulty Hi, Do you have to destroy the Bitmap you create in the largeLoaded function??? Glen Sander Schuurman wrote: > Hi cool list, > > I'm struggling with my Image class. It&

Re: [Flashcoders] Garbage Collection difficulty

2009-01-21 Thread Glen Pike
Hi, Do you have to destroy the Bitmap you create in the largeLoaded function??? Glen Sander Schuurman wrote: Hi cool list, I'm struggling with my Image class. It's supposed to load and unload different sized images dynamicly; but I can't seem to get it to work properly. The loa

[Flashcoders] Garbage Collection difficulty

2009-01-21 Thread Sander Schuurman
Hi cool list, I'm struggling with my Image class. It's supposed to load and unload different sized images dynamicly; but I can't seem to get it to work properly. The loading works fine, but the unloading not for the full 100%. It visually unloads the image, but it remains in the memory. I have