# AS3 Hidden Button HELP!

**URL:** <https://forum.kirupa.com/t/as3-hidden-button-help/278679>\
**Category:** Uncategorized\
**Created:** [January 3, 2009, 3:03pm UTC](https://forum.kirupa.com/t/as3-hidden-button-help/278679 "2009-01-03T15:03:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![narcissist789](https://avatars.discourse-cdn.com/v4/letter/n/848f3c/32.png) [@narcissist789](https://forum.kirupa.com/u/narcissist789)\
**Post date:** [January 3, 2009, 3:03pm UTC](https://forum.kirupa.com/t/as3-hidden-button-help/278679/1 "2009-01-03T15:03:00Z")

</div>

Hi, i need help o as3 hidden buttons.  
for example in as2 if i have a movie symbol and Movie Animation “MyMovie” and Runs on \_root of file. i have hidden button on it saying following command line.

on (rollOver) {  
MyMovie.gotoAndPlay(2);  
}  
on (rollOut) {  
MyMovie.gotoAndPlay(7);  
}  
on (release) {  
\_root.MyMovie.gotoAndPlay(7);  
}

How can i do this in as3. Please explain in full actionScript.  
Thanks in advance for your time.
