# GET variables with FLASH and FIREFOX

**URL:** <https://forum.kirupa.com/t/get-variables-with-flash-and-firefox/87887>\
**Category:** programming\
**Created:** [April 25, 2005, 12:17am UTC](https://forum.kirupa.com/t/get-variables-with-flash-and-firefox/87887 "2005-04-25T00:17:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaDeViL](https://avatars.discourse-cdn.com/v4/letter/d/a9a28c/32.png) [@DaDeViL](https://forum.kirupa.com/u/DaDeViL)\
**Post date:** [April 25, 2005, 12:17am UTC](https://forum.kirupa.com/t/get-variables-with-flash-and-firefox/87887/1 "2005-04-25T00:17:19Z")

</div>

What im trying to do is very simple. I have a flash movie as teh header of a page and it has an intro animation. Well I want the intro to play only once so i am using a session variable to check if the user has seen it already.

u can see teh following code in action [here](http://www.xd-hosting.com/xdhFlash/)

View the link in IE and Firefox

**here is teh PHP code:**

```auto

<?php

session_start();
if (empty($_SESSION[flash])){
        $jump_to="intro"; 
        $_SESSION[flash]="nointro"; 
} else {
        $jump_to=$_SESSION[flash];
}

?>

```

**HTML Code to put the flash movie in:**

```auto
<object ...
...
   <param name="movie" value="header.swf?start=<?php echo $jump_to; ?>         
...
</object>

```

**the actionscript:**

```auto

test = _URL;
if ( _level0.start == undefined) {
	main.gotoAndPlay(1);
} else {
	if (_level0.start == "intro") {
		main.gotoAndPlay(1);
	} else if (_level0.start == "nointro") {
		main.gotoAndPlay(16);
	}
}

```

the test variable is to show you the problem.

This code works PERFECTLY in IE - it doesnt play the intro or anything.  
in IE the url of the movie is **header.swf?start=intro**

Firefox however it does not. I have no idea why. Maybe firefox treats GET variables differently.  
in Firefox the url is **header.swf**

what happened to the string??  
How do i access GET variables in Flash when they are from FF??

Thanks 👽
