# SWFADDRESS + URL variable

**URL:** https://forum.kirupa.com/t/swfaddress-url-variable/308734
**Category:** flash
**Created:** [April 29, 2010, 3:15am UTC](https://forum.kirupa.com/t/swfaddress-url-variable/308734 "2010-04-29T03:15:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cortezcreations](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@cortezcreations](https://forum.kirupa.com/u/cortezcreations)
#### Post date: [April 29, 2010, 3:15am UTC](https://forum.kirupa.com/t/swfaddress-url-variable/308734/1 "2010-04-29T03:15:16Z")

</div>

Hello all.  
Having a hard time getting info on SWFADDRESS so I thought I’d try here as Kirupa has saved my butt in the past.  
So my question is this.  
I am trying to attach a variable to the end of my SWFADDRESS url but can’t get it to register. I can get it working fine using SWFOBJECT like so

[http://website.com?Var=1&Var2=2](http://website.com?Var=1&Var2=2)

but once I add the deeplinking I can’t get any results.

[http://website.com/#/Home/?Var=1&Var2=2](http://website.com/#/Home/?Var=1&Var2=2)  
or  
[http://website.com/#/Home?Var=1&Var2=2](http://website.com/#/Home?Var=1&Var2=2)

My code in the html is :

```auto
 <script type="text/javascript">
        // <![CDATA[
            var so = new SWFObject('Example', 'website', '800px', '600px', '8');
            so.useExpressInstall('swfobject/expressinstall.swf');
	      so.addVariable("Var", getQueryParamValue("Var"));
     		so.addVariable("Var2", getQueryParamValue("Var2"));
		    so.addParam("wmode","transparent");
		    so.write("flashcontent");
        
		// ]]>
	</script>

```

Anyone have a way around this or a good source for SWFADDRESS help?  
Would really help me out!  
Cheers
