# Buttons inside nested movieclips

**URL:** <https://forum.kirupa.com/t/buttons-inside-nested-movieclips/197823>\
**Category:** Uncategorized\
**Created:** [August 19, 2006, 4:13pm UTC](https://forum.kirupa.com/t/buttons-inside-nested-movieclips/197823 "2006-08-19T16:13:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hermet](https://avatars.discourse-cdn.com/v4/letter/h/4af34b/32.png) [@Hermet](https://forum.kirupa.com/u/Hermet)\
**Post date:** [August 19, 2006, 4:13pm UTC](https://forum.kirupa.com/t/buttons-inside-nested-movieclips/197823/1 "2006-08-19T16:13:49Z")

</div>

I have a movieclip (mc1) which consists of a mask and another movieclip (mc2). mc2 has 3 buttons. One code that I attached to one of the buttons (and which doens’t work) is as follows:  
on (release) {  
getURL(“[http://science.nasa.gov/](http://science.nasa.gov/)”);  
}  
why doesn’t that work?  
mc1 has the following code:  
on (rollOver) {stop();}  
on (rollOut) {play();}  
which works ok.
