Mutiple Choice Question Interactive Video

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • boodaddy
    New Member
    • Jun 2007
    • 3

    #1

    Mutiple Choice Question Interactive Video

    I would like to know if there is an example, or tutorial of someone selecting multiple choice questions before they see a video in flash? A different video would come up based on the selection of questions.

    Thanks for your time,
  • kestrel
    Recognized Expert Top Contributor
    • Jul 2006
    • 1071

    #2
    Do you want this to be doen with flash? or before any flash movie gets displayed?

    Comment

    • jsavagedesign
      New Member
      • Jun 2007
      • 17

      #3
      If you are using FLVs, you can change the content path with the differant selections made. Just make sure the FLVPlayback component is in the library

      Like this:
      Code:
      import mx.video.*;
      attachMovie("FLVPlayback", "myFlv", 1);
      var movieLinks = new Array("flvs/movie1.flv","flvs/movie2.flv","flvs/movie3.flv");
      button0.onRelease = function(){
          myFlv.contentPath = movieLinks[0];
          myFlv.play();
      }
      button1.onRelease = function(){
          myFlv.contentPath = movieLinks[1];
          myFlv.play();
      }
      etc...
      -J

      Comment

      • boodaddy
        New Member
        • Jun 2007
        • 3

        #4
        Hey thanks for the replies. Yes I would like it to be done in flash before the movie gets played. They would answer some radio button questions, and depending what they pick the video would come up. I will try the posted code and reply what happenes. Thanks for all your help.
        Thanks Again for your time

        Comment

        Working...