I was just making an example based on this article. http://timotheegroleau.com/Flash/articles/scope_chain.htm
"#6 To avoid memory waste, a simple solution is to not use nested function but create function externaly instead and attach references only." So would that still be bad practice for AS 1.0 considering nothing gets referenced beyond the scope of this? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Tuesday, July 17, 2007 4:13 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] onEnterFrame() and delete onEnterFrame() ----- Original Message ----- From: "Jesse Graupmann" <[EMAIL PROTECTED]> To: <flashcoders@chattyfig.figleaf.com> Sent: Wednesday, July 18, 2007 12:49 AM Subject: RE: [Flashcoders] onEnterFrame() and delete onEnterFrame() > You could make it just a bit more lean than that... > Except that fadeInMc() now runs in a different scope => bad practice. _______________________________________________ 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