# Really stuck with flashvars

**URL:** <https://forum.kirupa.com/t/really-stuck-with-flashvars/233031>\
**Category:** flash\
**Created:** [July 19, 2007, 3:34pm UTC](https://forum.kirupa.com/t/really-stuck-with-flashvars/233031 "2007-07-19T15:34:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nutty](https://avatars.discourse-cdn.com/v4/letter/n/a3d4f5/32.png) [@Nutty](https://forum.kirupa.com/u/Nutty)\
**Post date:** [July 19, 2007, 3:34pm UTC](https://forum.kirupa.com/t/really-stuck-with-flashvars/233031/1 "2007-07-19T15:34:18Z")

</div>

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:

```auto

[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:

```auto

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 🙂
