# \[Flash 8.0\] onClipEvent(mouseDown) movie/link trouble

**URL:** <https://forum.kirupa.com/t/flash-8-0-onclipevent-mousedown-movie-link-trouble/192770>\
**Category:** flash\
**Created:** [June 30, 2006, 9:10pm UTC](https://forum.kirupa.com/t/flash-8-0-onclipevent-mousedown-movie-link-trouble/192770 "2006-06-30T21:10:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rylynn](https://avatars.discourse-cdn.com/v4/letter/r/8baadc/32.png) [@Rylynn](https://forum.kirupa.com/u/Rylynn)\
**Post date:** [June 30, 2006, 9:10pm UTC](https://forum.kirupa.com/t/flash-8-0-onclipevent-mousedown-movie-link-trouble/192770/1 "2006-06-30T21:10:56Z")

</div>

Hello,

I’m working on an interactive map of the united states in which each state is a button inside a movie clip. The states get larger and move up in depth when you go over them then shrink back down when you mouseout. All of this (finally) is working right.

I wanted it to work so that when you clicked on a state it sent you to a seperate page for that specific state… Here is where I met my new problem. The code I’m using is:

onClipEvent(mouseDown){  
getURL(“[http://blahblah/arizona/index.php](http://blahblah/arizona/index.php)”);  
}

with a seperate link for each movie clip on the stage of course. Now, when I test this in Flash it opens up an explorer window for every single state when I click on one.

When I put the swf on a website and use it, each state I click on links me to California for some reason.

I’m sure it’s just the syntax and then way I’m setting this up but I don’t know of a better way to do it without having to redo tons of my actionscript for each state. If anyone knows a quick solution or a better approach I would appreciate it!
