Really stuck with flashvars

I know it’s something really stupid, because i’ve done this before…and it worked.

this is what i use to show the swf file:


[SIZE=1] <script language="javascript">
      if (AC_FL_RunContent == 0) {
          alert("This page requires AC_RunActiveContent.js.");
      } else {
          AC_FL_RunContent(
              'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#"#"#version=9,0,0,0',
              'width', '975',
              'height', '139',
              'src', 'splash',
              'quality', 'high',
              'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
              'align', 'middle',
              'play', 'true',
              'loop', 'true',
              'scale', 'showall',
              'wmode', 'window',
              'devicefont', 'false',
              'id', 'splash',
              'bgcolor', '#"#"#ffffff',
              'name', 'splash',
              'menu', 'true',
              'allowFullScreen', 'false',
              'allowScriptAccess','sameDomain',
              'movie', '#Webroot()#/flash/splash',
              'salign', ''
              ); //end AC code
      }
  </script>
  <noscript>
      <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#"#"#version=9,0,0,0" width="975" height="139" id="splash" align="middle">
      <param name="allowScriptAccess" value="sameDomain" />
      <param name="allowFullScreen" value="false" />
      <param name="movie" value="#Webroot()#/flash/splash.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#"#"#ffffff" />
[/SIZE] [SIZE=1]**     [COLOR=Red]<param name="FlashVars" value="link=/is-bin/intershop.static/WFS/Iceware-IcewareConsumerChannel-Site/Iceware-IcewareConsumerChannel/en_US/flashimages/">[/COLOR]**
[/SIZE] [SIZE=1]     <embed src="#Webroot()#/flash/splash.swf" **[COLOR=Red]flashvars="link=/is-bin/intershop.static/WFS/Iceware-IcewareConsumerChannel-Site/Iceware-IcewareConsumerChannel/en_US/flashimages/"[/COLOR]** quality="high" bgcolor="#"#"#ffffff" width="975" height="139" name="splash" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
      </object>
  </noscript>[/SIZE]

in flash i use this to call te variable:


pathToPics=_root.link;

Then i try to check if it has worked by making a dinamic text field but all i see is “undefined”.

I hope someone can help me :slight_smile: