Hey all,

I'm used to using registerClass to apply code to navigation buttons at the
like dynamically added to movie.

If I've got a few buttons already on stage I'm wondering what the cleanest way
is to add code to them:

I could do something like this:

home_btn.onRelease = news_btn.onRelease = about_btn.onRelease = function() {
// do something 
}

But that seems rather cumbersome, and I suspect there's a better way of doing
it, any recommendations?

Thanks,

- Kevin
_______________________________________________
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