Hi list,

Is there a way to condense several button handler commands into one line?
ie instead of writing:

myButton_btn.onRelease = function(){
doStuff();
}
myButton_btn.onPress = function(){
doStuff();
}
myButton_btn.onRollOver = function(){
doStuff();
}

Can I do something like:

myButton_btn.onRollOver.onPress.onRollOver = function(){
doStuff();
}

?

Cheers.

_______________________________________________
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