  | |  | memory management - removeMovieClip / | memory management - removeMovieClip /
2004-02-23 - By martin weiser
Back still, have to wait one frame to the changes take place,
i encountered such behaviour, with Muzak 's great dynamic tween functions, if
you twanted to trigger another tween right at the end of some previous, it
was impossible, unless deleting onEnterFrame manually (setting to
*undefined*) and keeping the mc....
mw
-- -- Original Message -- --
From: "ryanm " <ryanm@(protected) >
To: <flashcoders@(protected) >
Sent: Monday, February 23, 2004 1:27 PM
Subject: Re: [Flashcoders] memory management - removeMovieClip /
> > If m has some event associated like onEnterFrame I delete the
> > handler BEFORE deleting my instance like:
> >
> > delete m.onEnterFrame;
> > delete m;
> >
> I believe that removeMovieClip cleans everything up for you. Of course
> it only works for movie clips, but it should clean up any events or
> properties attached to the clip.
>
> ryanm
>
>
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Supported by Fig Leaf Software
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Be sure to check the archives and the wiki:
> http://chattyfig.figleaf.com/
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104961
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> To unsubscribe send a blank e-mail to:
> Normal Mode: flashcoders-unsubscribe@(protected)
> Digest Mode: flashcoders-digest-unsubscrive@(protected)
>
>
>
> __ ____ __ Informacia od NOD32 1.561 (20031121) __ ____ __
>
> Tato sprava bola preverena antivirusovym systemom NOD32.
> http://www.eset.sk
>
>
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104965
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |