Hi this is the set i have for my issue, thanks.
[1]i have a MC on the main stage called "rado2" with instance of rad2, in rad2 i have three frames, first frame with label "radAA2"
[2]I have another MC on the main stage called rado1 with instance "rad1" in rad1 i have three frames, first frame withlabel "radAA1"
What i di was create radio buttons, casue i didn't want the size of the component, so i used three frames within a movie clip and created a button in the frames with mimics the radio being selected or not. What i'm trying to do is from the third fram of [1] have some code to set [2] to the first frame, so its unselected.
This is what i have:
_root.radi2=1; // i set values in the frame where radio is selected or not, if equal to 1 then it is selected, so below i'm checking if the radio is selected and if so unselect it, by going to frame1 or "radAA", it not working though?
if (_root.radi1==1){
_root.radi1=0;
_root.rado1.rad1.gotoAndStop("radAA");
}
stop();
any thoughts as to why its not working? I've tried various paths. What is the syntax to reach instantiate a frame within a MC? Thanks!
[1]i have a MC on the main stage called "rado2" with instance of rad2, in rad2 i have three frames, first frame with label "radAA2"
[2]I have another MC on the main stage called rado1 with instance "rad1" in rad1 i have three frames, first frame withlabel "radAA1"
What i di was create radio buttons, casue i didn't want the size of the component, so i used three frames within a movie clip and created a button in the frames with mimics the radio being selected or not. What i'm trying to do is from the third fram of [1] have some code to set [2] to the first frame, so its unselected.
This is what i have:
_root.radi2=1; // i set values in the frame where radio is selected or not, if equal to 1 then it is selected, so below i'm checking if the radio is selected and if so unselect it, by going to frame1 or "radAA", it not working though?
if (_root.radi1==1){
_root.radi1=0;
_root.rado1.rad1.gotoAndStop("radAA");
}
stop();
any thoughts as to why its not working? I've tried various paths. What is the syntax to reach instantiate a frame within a MC? Thanks!