Get url

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?