# Flash reading url variables

**URL:** <https://forum.kirupa.com/t/flash-reading-url-variables/53943>\
**Category:** Uncategorized\
**Created:** [June 9, 2004, 2:38pm UTC](https://forum.kirupa.com/t/flash-reading-url-variables/53943 "2004-06-09T14:38:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xEnOn](https://avatars.discourse-cdn.com/v4/letter/x/85e7bf/32.png) [@xEnOn](https://forum.kirupa.com/u/xEnOn)\
**Post date:** [June 9, 2004, 2:38pm UTC](https://forum.kirupa.com/t/flash-reading-url-variables/53943/1 "2004-06-09T14:38:48Z")

</div>

i want my flash to be able to read the url’s variable so that my flash will appear accordingly to what the user specify.  
so far example, i have this url, [www.mywebsite.com/enter.php?option1=one&option2=two](http://www.mywebsite.com/enter.php?option1=one&option2=two)  
how do i code in the actionscript to read the option1 and option2 variables from the url?  
thanks
