This is one of the most annoying problems I have ever had (already wasted 3 hours). I want to pass GET variables (from address bar) to my Flash movie. My code works 100% in Internet Explorer! However, it only works randomly in Firefox; most of the time it doesn’t work. So why does it not work consistently in Firefox??
this is my flash movie embedded in php code.
<?php $page = $_GET['page']; echo $page;?>
<div id="banner" >
<h1 class="title">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="300">
<PARAM NAME="FlashVars" VALUE="page=<?php echo $page;?>">
<param name="movie" value="images/topbanner.swf" />
<param name="quality" value="high" />
<embed src="images/topbanner.swf" FlashVars="page=<?php echo $page;?>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="300"></embed>
</object>
In my Flash Movie I have this:
if (page == "services") {
gotoAndStop(3);
} else {
_root.contents.loadMovie("home.swf");
}
Thanks for your help.