0 Replies Latest reply on Nov 26, 2008 7:36 AM by lndlyb

    playing swf/video based on radio button selection

    lndlyb
      I have created a form in Flash 8 that has 4 radio buttons and a submit button. I would like to play videos (swfs) based on which radio button the user selects.

      The radio button labels are “spring”, “summer”, “fall” and “winter”.

      I would like to be able to write actionscript that does the following:

      If the “spring” radio button is selected, when the “submit” button is clicked, load the “prelude_spring” movie.

      If the “summer” radio button is selected, when the “submit” button is clicked, load the “prelude_summer” movie.

      If the “fall” radio button is selected, when the “submit” button is clicked, load the “prelude_fall” movie.

      If the “winter” radio button is selected, when the “submit” button is clicked, load the “prelude_winter” movie.

      Any help would be greatly appreciated.