# Firefox Variables in Flash Problem

**URL:** <https://forum.kirupa.com/t/firefox-variables-in-flash-problem/229624>\
**Category:** flash\
**Created:** [June 19, 2007, 1:45am UTC](https://forum.kirupa.com/t/firefox-variables-in-flash-problem/229624 "2007-06-19T01:45:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@Nick](https://forum.kirupa.com/u/Nick)\
**Post date:** [June 19, 2007, 1:45am UTC](https://forum.kirupa.com/t/firefox-variables-in-flash-problem/229624/1 "2007-06-19T01:45:24Z")

</div>

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

```auto
if (page == "services") {
	
gotoAndStop(3);

} else {

_root.contents.loadMovie("home.swf");

}

```

Thanks for your help.
