1 Reply Latest reply on Apr 24, 2011 5:29 AM by Ned Murphy

    Go to a frame based on Radio button choice?

    DarrenFMc Level 1



      I have created a movieclip that is simply asking a question and the user chooses from a list of Radio buttons


      I have set this up and it works fine, but I cannot figure out how to set up a "Next" button or a "Submit" button that, depending on the radio button choice made, the user goes to a specific frame or label.


      I bought the Adobe Flash CS5 bible, but there seems to be little information on controlling Radio buttons, only how to set them up to test.


      any help would be grateful.

        • 1. Re: Go to a frame based on Radio button choice?
          Ned Murphy Adobe Community Professional & MVP

          Look at the RadioButtonGroup class's selectedData property.  You can probably utilize that in whatever function you call so that you use the value property assigned to the RadioButton that was selected.  The value property you assign to the RadioButton(s) can be the different frame that each would end up going to.  So in your event handler function for the Submit button you could just use something like:  gotoAndStop(radioGroupName.selectedData);