Wait though, isn't a class part of the swf compilation? Technically, you really cannot delete it unless you load the class in via an external swf. That might be one way of accually doing it.
M. On 5/3/06, Andreas Rønning <[EMAIL PROTECTED]> wrote:
Kind of besides the point really. The real point is, in my humble opinion, that it should be possible to do it without myClass.cleanup(); delete(myClass); It becomes double naughty if your class instance is in an array. It's just a question of keeping the amount of fluff down to a minimum. This is not a critical problem. I am merely asking for people's methodologies in self destroying classes. - A Ian Thomas wrote: > Hi Andreas, > To turn it on its head... > > What are you trying to achieve? In what circumstances do you need to > destroy a class? > > Ian > > On 5/3/06, Andreas Rønning <[EMAIL PROTECTED]> wrote: > >> has anyone got a good way for an as2 class to destroy itself? I know >> it's not "possible", but my heart tells me someone has devised some kind >> of good methodology. >> >> - A > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com -- - Andreas Rønning --------------------------------------- Flash guy Rayon Visual Concepts, Oslo, Norway --------------------------------------- _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com