[Flashcoders] _delete onEnterFrame vs onEnterFrame = null

2006-02-09 Thread Anggie Bratadinata
Hi all, How does onEnterFrame = null differ from _delete onEnterFrame ? Should I prefer one to the other? -- Anggie Bratadinata Web|Graphic|Flash Jl. Raya Langsep 21 Malang - East Java I N D O N E S I A www.ibshastautama.com www.nextrand.co.id ___

Re: [Flashcoders] _delete onEnterFrame vs onEnterFrame = null

2006-02-09 Thread Scott Fanetti
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

RE: [Flashcoders] _delete onEnterFrame vs onEnterFrame = null

2006-02-09 Thread Scott Hyndman
PROTECTED] on behalf of stone larsen Sent: Thu 2/9/2006 4:55 PM To: Flashcoders mailing list Cc: Subject:Re: [Flashcoders] _delete onEnterFrame vs onEnterFrame = null delete onEnterFrame = null, is bad practice. Scott Fanetti [EMAIL PROTECTED] wrote: delete this.onEnterFrame