# HELP! How to get dynamic variable from URL?

**URL:** <https://forum.kirupa.com/t/help-how-to-get-dynamic-variable-from-url/166702>\
**Category:** Uncategorized\
**Created:** [October 21, 2005, 10:19pm UTC](https://forum.kirupa.com/t/help-how-to-get-dynamic-variable-from-url/166702 "2005-10-21T22:19:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![th3Phallex](https://avatars.discourse-cdn.com/v4/letter/t/9fc29f/32.png) [@th3Phallex](https://forum.kirupa.com/u/th3Phallex)\
**Post date:** [October 21, 2005, 10:19pm UTC](https://forum.kirupa.com/t/help-how-to-get-dynamic-variable-from-url/166702/1 "2005-10-21T22:19:20Z")

</div>

I’m sure by now, you’ve all seen this page:

[http://you.youarelame.com/](http://you.youarelame.com/)  
(replace YOU with any name)

And in this flash movie, in a text area, it shows whatever you type in before the string “.youarelame.com”.

How was this done?

Is it possible to pass a variable to a Flash Movie thru the URL?

Like, for example, if I were to do something like this:  
[www.mywebsite.com/myflashmovie.swf\*\*?USERNAME=th3Phallex\*\*](http://www.mywebsite.com/myflashmovie.swf?USERNAME=th3Phallex)

could I process the “USERNAME” variable with some code somehow and get it to return my USERNAME back to me in the Flash movie?
