hey, i’ve got a pretty simple problem- but I don’t really get why it’s happening, so maybe someone can shed some light on this for me.
it boils down to pretty much one thing. If i have a group of radios (radio1, radio2, radio3) in a frame, and the code
stop();
radio2.selected = true;
next_btn.onRelease = function()
{
gotoAndPlay(5);
}
where frame five does nothing but send the playhead back to the original frame- the second time “radio2.selected = true;” is executed it doesn’t set the second radio button like it does the first time. Instead all the radio buttons are blank. I just don’t get why it would set them the first time it runs that code, but not after that. I’m sure that the code is being executed again evert time i hit “next_btn” becaue i’ve tested that, so it seems like the radio2 variable stops being connected to the radio button somehow. These are the simplest terms that i have this problem under (obviously i’m not going to another frame for the sole purpose of coming back to the one i just left)- but solving this problem would fix what’s wrong with my current project.
-thanks