# How to get / use / find webbrowser url?

**URL:** <https://forum.kirupa.com/t/how-to-get-use-find-webbrowser-url/229917>\
**Category:** flash\
**Created:** [June 21, 2007, 6:54am UTC](https://forum.kirupa.com/t/how-to-get-use-find-webbrowser-url/229917 "2007-06-21T06:54:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![smyls](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@smyls](https://forum.kirupa.com/u/smyls)\
**Post date:** [June 21, 2007, 6:54am UTC](https://forum.kirupa.com/t/how-to-get-use-find-webbrowser-url/229917/1 "2007-06-21T06:54:56Z")

</div>

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. ☹

```auto
 
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;
 }
 
}

```
