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"
> >
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
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
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
.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
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
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
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
>
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
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,
10 matches
Mail list logo