This content has been marked as final. Show 3 replies
You can create movieclips and use them as radio buttons, but you also have to create the supporting code that makes them function as radio buttons do... when one is selected, the remainder are deselected.
Just have a couple of frame in each, one for displaying as the unselected state, and one for displaying as the selected state. If you click on it, it moves to the other frame in the mc.
You can assign some value associated with each radio button mc to a shared hidden texfield and use that textfield as the variable for the form when it gets submitted.
Have u got any URL for egzaple of similar codes?
Below is a link to a posting I helped someone with that would very closely function as I am suggesting. The only thing it is missing is where the radio_mc would write a value to a hidden textfield.
Recent posting suitable to your situation
If the fla file that was linked in that posting is still available (about 3 postings before the last), you can open it and see what your radio buttons would look like in a general sense. There are a number of text movieclips used that consist of two frames each. One frame shows small text, and the second shows that text magnified. In your case, the first frame would be the unclicked radio button image, and the second would be the clicked radio button image. The movies in that file are all named in a similar manner (mc0, mc1, mc2... etc). You would do the same thing for one group of radio buttons.
That file is coded using AS2, so if you are going to use AS3, the coding will be a bit different.
The function that I show near the end of the posting is what was needed to make that fla file work properly... when you click on one, the rest are returned to their unclicked state.