Re: [Flashcoders] oop question kind of...

2006-08-21 Thread Alias
gling pointers after i > > went thru so much trouble to clean up after myself... > > > > > > thanks > > > > b > > > > - Original Message - > > From: "Ramon Miguel M. Tayag" > > To: "Flashcoders mailing list" > >

Re: Re: [Flashcoders] oop question kind of...

2006-08-21 Thread John Mark Hawley
Using the same depth is fine -- it completely replaces the original clip at that depth, eh? > > From: "Johannes Nel" <[EMAIL PROTECTED]> > Date: 2006/08/21 Mon PM 02:05:56 CDT > To: "Flashcoders mailing list" > Subject: Re: [Flashcoders] oop question

Re: [Flashcoders] oop question kind of...

2006-08-21 Thread Dan Rogers
I've also found a few quirks with removeMovieClip... however most of them seem to be related to depth. I use this class whenever I remove a clip (dynamically attached or otherwise), and it seems to do the trick. /** The MovieClipRemover class is a static utility class which removes timel

Re: [Flashcoders] oop question kind of...

2006-08-21 Thread Johannes Nel
he problem i have is after calling removeMovieClip or delete is that when i > > need to re-instantiate the object...it's either corrupt or not created > > properly...i was a little upset to find so many dangling pointers after i > > went thru so much trouble to clea

Re: [Flashcoders] oop question kind of...

2006-08-21 Thread badimalik
.it's either corrupt or not created > > properly...i was a little upset to find so many dangling pointers after i > > went thru so much trouble to clean up after myself... > > > > > > thanks > > > > b > > > > - Original Me

Re: [Flashcoders] oop question kind of...

2006-08-21 Thread Alias
many dangling pointers after i went thru so much trouble to clean up after myself... thanks b - Original Message - From: "Ramon Miguel M. Tayag" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Monday, August 21, 2006 8:50 AM Subject: Re: [Flashcoders] oo

Re: [Flashcoders] oop question kind of...

2006-08-21 Thread Ian Thomas
On 8/21/06, [b) a d i <[EMAIL PROTECTED]> wrote: the problem i have is after calling removeMovieClip or delete is that when i need to re-instantiate the object...it's either corrupt or not created properly...i was a little upset to find so many dangling pointers after i went thru so much trouble

Re: [Flashcoders] oop question kind of...

2006-08-21 Thread [b) a d i
ot; Sent: Monday, August 21, 2006 8:50 AM Subject: Re: [Flashcoders] oop question kind of... > Have you tried mc.removeMovieClip() ? > > On 8/21/06, [b) a d i <[EMAIL PROTECTED]> wrote: > > Hi, > > i've noticed that just because you call delete on a movie clip or even an >

Re: [Flashcoders] oop question kind of...

2006-08-21 Thread Ramon Miguel M. Tayag
Have you tried mc.removeMovieClip() ? On 8/21/06, [b) a d i <[EMAIL PROTECTED]> wrote: Hi, i've noticed that just because you call delete on a movie clip or even an object doesn't mean that it totally goes away. Does anyone know how to destroy and object and really have it go away since there a

Re: [Flashcoders] oop question kind of...

2006-08-21 Thread Alias
AS2 uses reference counted garbage collection, so to completely delete an object, you must delete all other objects that refer to it. Calling delete on a movie clip only removes the reference to the movieclip object on the stage. HTH, Alias On 8/21/06, [b) a d i <[EMAIL PROTECTED]> wrote: Hi,