# On press go to a fram in this\* MC

**URL:** <https://forum.kirupa.com/t/on-press-go-to-a-fram-in-this-mc/105497>\
**Category:** Uncategorized\
**Created:** [March 26, 2004, 6:09pm UTC](https://forum.kirupa.com/t/on-press-go-to-a-fram-in-this-mc/105497 "2004-03-26T18:09:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wayne](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/wayne/32/16501_2.png) [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Post date:** [March 26, 2004, 6:09pm UTC](https://forum.kirupa.com/t/on-press-go-to-a-fram-in-this-mc/105497/1 "2004-03-26T18:09:12Z")

</div>

I have a button.  
I have a MC, with a image.  
in the MC I have 2 frames, frame 1 is empty and frame 2 is a big image.

I want when I press the button, the MC will go to frame 2 where the image shows up. but I cannot

on(release) {  
\_root.MyMovieClip.gotoAndStop(2)  
}

–I get a error from flash.

-thank you :A+:
