PDA

View Full Version : RadioButton class...


Terumi
01-02-2008, 07:24 PM
Happy new year everybody...

I am confused about which way to go with a class that I want to make.
I want to build an equivalent of the html radiobutton group, but using movieclips.

I want to have my movieclips to have on rollOver, rollOut, etc, etc... BUT
when a clip receives a release event, I want to "uncheck" any of the previous clips pressed in the same group.

Which is the best way to go?

I don't want to use the "array" trick (checking all the "members" of the group on every onRelease event).
Can this be done using asbroadcaster, or the eventdispatcher is the best way to go?

Should I make a "controller" class, and a movieclip-button subclass?

Thank you.