How to get / use / find webbrowser url?

Hi,

I have made a flashproject with an image-scroller with 12 different pictures linked to 12 different url.html but they (the url’s) all show the same flashproject.

Im searching for something like an If command, if the url_1.html is opened i want picture 1 to load. And if url_2.html is opened I want picture 2 to load.

I dont want to make different flashprojects for each url.

Please help me.

// i tried stuff like the code you find here under but the _url command only give me .swf address not the site-url. :frowning:

 
onClipEvent (load)
{
 
url = _url;
if (_url == [http://[URL="file:///C:/Documents%20and%20Settings/Guest1/Mina%20dokument/patrik/buttericks/horoskop2.swf"]whatever.swf](http://whatever.swf/))
 {
     _x = -200;
 }
 
 else
 {
     _x = -600;
 }
 
}