# getURL within nested mc not working

**URL:** https://forum.kirupa.com/t/geturl-within-nested-mc-not-working/254768
**Category:** flash
**Created:** [March 15, 2008, 1:27am UTC](https://forum.kirupa.com/t/geturl-within-nested-mc-not-working/254768 "2008-03-15T01:27:34Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![wildlettuce](https://avatars.discourse-cdn.com/v4/letter/w/cdc98d/32.png) [@wildlettuce](https://forum.kirupa.com/u/wildlettuce)
#### Post date: [March 15, 2008, 1:27am UTC](https://forum.kirupa.com/t/geturl-within-nested-mc-not-working/254768/1 "2008-03-15T01:27:34Z")

</div>

If this problem has already been addressed I apologize, please redirect me.

I am building a Flash menu (actionscript2) to be used in a non-flash website. There is a main menu with sub-menus. The sub-menus are each separate mcs with buttons. The roll-over states of the buttons seem to work, but the getURL commands do not.

I have tried using this sort of code

kitsupplies\_btn.onRelease = function(){  
getURL(“[http://www.picklesandammo.com/content/blogcategory/0/59/#Kits](http://www.picklesandammo.com/content/blogcategory/0/59/#Kits)”,\_self)  
}

within the mc.

I have also tried using:

this.foodsub\_mc.recipes\_btn.onRelease = function(){  
getURL(“[http://www.picklesandammo.com/content/blogcategory/17/38/](http://www.picklesandammo.com/content/blogcategory/17/38/)”, \_self)  
}

within the main timeline. I have also substituted _\_root_ for _this_.

The main menu is composed of buttons that move you to different places on the timeline where the sub-menus expand. You can see it here:  
[http://www.picklesandammo.com/flashtests/PandA\_menu.html](http://www.picklesandammo.com/flashtests/PandA_menu.html)

I have used getURL within a mc before without a problem. Is it possible that the buttons within the main timeline are throwing the others off?

I am confused. Please help me. Thanks!
