# Accessing Flashvars from .swf? querystring

**URL:** <https://forum.kirupa.com/t/accessing-flashvars-from-swf-querystring/328159>\
**Category:** flash\
**Created:** [April 23, 2012, 5:15pm UTC](https://forum.kirupa.com/t/accessing-flashvars-from-swf-querystring/328159 "2012-04-23T17:15:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flashdaddy](https://avatars.discourse-cdn.com/v4/letter/f/e36b37/32.png) [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Post date:** [April 23, 2012, 5:15pm UTC](https://forum.kirupa.com/t/accessing-flashvars-from-swf-querystring/328159/1 "2012-04-23T17:15:15Z")

</div>

Hey All,

Is it possible to pass flashvars via querystring to your swf file without having access to the html? Something like [http://mysite.com/main\_swf.swf?var1=this&var2=that](http://mysite.com/main_swf.swf?var1=this&var2=that)

I usually deal with flashvars on the html page, but in this case, i have no access to the html page. All my search results regarding passing querystrings all have some reference to the html so I’m trying to see if this is even possible. Thanks in advance.
