delete onEnterFrame = null, is bad practice. Scott Fanetti <[EMAIL PROTECTED]> wrote: delete this.onEnterFrame is definitely the standard method. I think null kills the function definition, but the event still gets fired and the owner of the onEnterFrame event still gets the event notification. delete destroys the event and removes the function pointer from the instance
Anggie Bratadinata wrote: > Hi all, > > How does "onEnterFrame = null" differ from "_delete onEnterFrame" ? > Should I prefer one to the other? > _______________________________________________ [email protected] 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 --------------------------------- Yahoo! Mail Use Photomail to share photos without annoying attachments. _______________________________________________ [email protected] 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

