5 Replies Latest reply on May 15, 2008 6:41 PM by kglad

    FlashVars Undefined

    PKay87
      I need help with passing the flv file name as a flashvars. FlashVars undefined.

      <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" http://fpdownload.macromedia.com/pub/shockwave/cab... < http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab>=7,0,0,0" width="400" height="300" id="sb8" align="middle">
      <param name="allowScriptAccess" value="sameDomain" />
      <param name="movie" value="sb8.swf" />
      <param name="FlashVars" value="movname=stats.flv" />
      <param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />
      <embed src="sb8.swf" FlashVars="movname=stats.flv" quality="high" bgcolor="#ffffff" width="400" height="300" name="sb8" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="< http://www.macromedia.com/go/getflashplayer>" />
      </object>

      In the Action Script I have tried the following

      var _vidName:String = _level0.movname;

      or

      var _vidName:String = _root.movname;

      During Debug mode in Flash 8.0 the _vidname remains undefined.

      I appreciate any assistance.