Hello!
I have a little problem..but im goin' to crazy...
In the html i have this code:
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://macromedia.com/cabs/swflash.cab#version=6,0,0,0"
ID=flaMovie WIDTH=554.6 HEIGHT=57.3>
<PARAM NAME=movie VALUE="main_menu.swf">
<PARAM NAME=FlashVars VALUE="nyelv=<?php echo $_SESSION['lang'];?>">
<PARAM NAME=quality VALUE=medium>
<PARAM NAME=bgcolor VALUE=#99CC33>
<EMBED src="main_menu.swf"
FlashVars='nyelv=<?php echo $_SESSION['lang'];?>'
bgcolor=#99CC33 WIDTH=554.6 HEIGHT=57.3
TYPE="application/x-shockwave-flash">
</EMBED>
</OBJECT>
And the flash this:
First keyframe:
stop();
if (lang == "EN") {
gotoAndStop(2);
}else{
gotoAndStop(3);
}
2,3 keyframe only has some graph, and Stop()
If lang is EN then i need to go keyframe 2, if not the go to 3....
On IE6 works well..no problem. On FF 3.5 something not ok.. if i hit the refresh button on FF, then sometimes OK, sometimes not OK, sometimes only a part of the graphic shown on keyframe 3...i dont really understand..
Earlier i have no problem with flasvars on FF...something changed with FF 3.x?
Any other way to pass variable to flash? (i dont want to use query string..)
Maybee jquery?
Thnx.