Hum... weird problem with passing vars

Hi all,

Ok, this is just some plain stupid problem… I’ve done this dozens of times, but I can’t find why it’s not working.

Basically, send a variable to flash called skipAnim.


 <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=",0,0,0" width="809" height="71" id="header" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="assets/swf/header.swf?skipAnim=<?=$skipAnim?>" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ddceb0" />
<embed src="assets/swf/header.swf?skipAnim=<?=$skipAnim?>" quality="high" bgcolor="#ddceb0" width="809" height="71" name="header" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="" />

The $skipAnim variable is generated by my PHP and is set to either ‘skip’ or ‘play’.

Now, here’s the actionScript :

if (_level0.skipAnim=='skip')

As you can see, this is just basic, but I don’t know why, it works perfect on Firefox and Netscape but never executes the gotoAndStop on IE.

You can see it in action at Click the menu links on the right. The first link sets $skipAnim to ‘play’, and all the others set it to ‘skip’

Any idea on what could be wrong?