I am attempting to use ActionScript to create a RadioButtonGroup and assign
RadioButtons to the Group, but when I try to add a radio button to a group I
get an error.

code:
var rdoGroup:RadioButtonGroup = new RadioButtonGroup():
var rdo:RadioButton = new RadioButton();
rdo.group(rdoGroup);

error:
1195: Attempted access of inaccessible method group through a reference with
static type mx.controls:RadioButton.
I don't understand the error message.
Could someone explain this to me?

Thanks,

-- 
Troy Simpson

Reply via email to