# Get url

**URL:** <https://forum.kirupa.com/t/get-url/47588>\
**Category:** Uncategorized\
**Created:** [April 5, 2004, 2:43pm UTC](https://forum.kirupa.com/t/get-url/47588 "2004-04-05T14:43:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ArcanE](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/arcane/32/183_2.png) [@ArcanE](https://forum.kirupa.com/u/ArcanE)\
**Post date:** [April 5, 2004, 2:43pm UTC](https://forum.kirupa.com/t/get-url/47588/1 "2004-04-05T14:43:46Z")

</div>

Anyone got an idea how i can play a movie based on the url you are at?

Example:  
I got a swf movie included in my indexpage: index.php  
With PHP different content is included in the framework based on the $\_GET[‘page’] variable with PHP.

Basically the swf’s menu just uses urls like ‘index.php?page=home’ or ‘index.php?page=contact’

Now i only want to play a movieclip in the swf if im on the homepage (index.php?page=home) and not on the other pages. Is this possible with AS?
