I am creating multiple movieclips with 1 radiobutton in each. I want
them all the tie into 1 radiobutton Group, but the follow code doesnt
seem to work. Can anyone tell me what im doing wrong and how to go
about fixing it?
I created a test case to show exactly what im trying to do...
import mx.controls.RadioButton;
for (var i =0; i<10; i++){
var mc:MovieClip = this.createEmptyMovieClip("rbHolder_"+i,
this.getNextHighestDepth());
var rb = mc.createClassObject(RadioButton, "rb_"+i,
mc.getNextHighestDepth(), {label:"rb_"+i, groupName:"configGroup"});
mc._y = i * 20;
trace("Group Name: "+rb.groupName);
}
Mike Boutin
_______________________________________________
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