4 Replies Latest reply on Sep 28, 2006 7:58 AM by Nickels55

    Variables into flash movie  -  Urgent help needed, please

    jmartin32
      I am hoping this is simple:
      Here is my HTML code:
      <param name="movie" value="orig2.swf" /><param name=FlashVars VALUE="sname=video1.flv"><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />

      I need to pass video1.flv to the flash movie.

      Here is the MOVIE data. I was told this is how to do it, but I am sure it's missing something basic.
      //insert sample link below
      mediaDisplay.directLink = " http://flash.xxx.com/flashgen.cgi?sname=&aname=xxxxxxxx/_definst_";

      //pulls sname from param value in HTML
      mediaDisplay.simplePlaylist = sname;
      streamnameTxt.text = sname;


      So, it should pull the SNAME variable from HTML and feed it into player. If I type in SNAME variable and manually place it in DirectLink line above, it works, but I need it to feed from HTML.

      PLEASE HELP!!