# Put getURL to all mc on the stage

**URL:** <https://forum.kirupa.com/t/put-geturl-to-all-mc-on-the-stage/177592>\
**Category:** Uncategorized\
**Created:** [February 3, 2006, 5:06am UTC](https://forum.kirupa.com/t/put-geturl-to-all-mc-on-the-stage/177592 "2006-02-03T05:06:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![uball](https://avatars.discourse-cdn.com/v4/letter/u/43a26b/32.png) [@uball](https://forum.kirupa.com/u/uball)\
**Post date:** [February 3, 2006, 5:06am UTC](https://forum.kirupa.com/t/put-geturl-to-all-mc-on-the-stage/177592/1 "2006-02-03T05:06:48Z")

</div>

I would like to put getURL on all mc on the stage, I put the script like this

```auto
 
var _root.url_array:Array = new Array("url1","url2","url3")
for (var mc in this) {
   var i:Number = 0;
   if (typeof (this[mc]) == "movieclip") {
       this[mc].onRelease = function() {
            getURL("lingo: go to \""+_root.url_array*+"\"");
            i++;
       }
   }
}

```

the problem when I click on mc, it go to same url, how can I it different.

Thank
