Passing variable, makes swf invisible?

Hey…

Im passing a variable to the .swf file on an html page

/file.swf?variable=a

then using…
[AS]
if(variable != “a”){
gotoAndStop(2);
}
[/AS]
to goto frame 2, if the variable is not “a”

This works fine when i view just the .swf file, but when i view it in IE, nothing shows up, I cant even right click it…

Has anyone had a similar problem??

Thanks
-Solo

I think this happened to me before,
Don’t know why this happens only that I send vars through a different way.
Within the <object>…</object> tag you got some params. Add the following param:
<param name=“FlashVars” value="&var1=value1&var2=value2&" />
and in the following <embed> add this attribute:
FlashVars="&var1=value1&var2=value2&"
To make things work in firefox mozilla. So skip the .swf?variable=a and do it my way.
Check to be sure the _root.varname to see if the vars are loaded properly before building ahead.

gr, Dieter