>>I tend not to use Delegate and go for this easier/cleaner alternative
>>this.my_mc.onRelease = function ( ) {

I now tend to not use anonymous functions like you have and use Delegate
instead.  Anonymous functions are bad practice in my opinion.  I think
your idea is actually messier than Delegate, no offense.  At least in
AS3, neither "'trick" is necessary any more.

Jason Merrill
Bank of America  
GT&O Learning & Leadership Development
eTools & Multimedia Team


 
_______________________________________________
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

Reply via email to