# F8 - finding mc code

**URL:** <https://forum.kirupa.com/t/f8-finding-mc-code/244495>\
**Category:** Uncategorized\
**Created:** [November 19, 2007, 2:49am UTC](https://forum.kirupa.com/t/f8-finding-mc-code/244495 "2007-11-19T02:49:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dr\_Abner\_Mellon](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@Dr\_Abner\_Mellon](https://forum.kirupa.com/u/Dr_Abner_Mellon)\
**Post date:** [November 19, 2007, 2:49am UTC](https://forum.kirupa.com/t/f8-finding-mc-code/244495/1 "2007-11-19T02:49:43Z")

</div>

[http://www.kirupa.com/developer/actionscript/tween\_as\_preloader.htm](http://www.kirupa.com/developer/actionscript/tween_as_preloader.htm)

Hey guys,

I used the above tutorial to make a preloader however, once I added the other scene, now one of my buttons wont work that was as follows: this.onRelease = function() {  
\_root.gotoAndPlay(“6”);

It won’t work now… I’ve tired stuff like \_root.content - content is the name of my second scene.

I’ve tired \_root.parent… the button is a few mc’s in. So from content/2nd scene, gift mc, and gift button mc \<-- where the button is… it used to work right, until I added the preloader.

I’ve tired, this.\_parent.\_parent.gotoAndPlay - this should be the correct location, but every time I test it, it just goes back to the preloader…

Ekkk…

please help 🙂

Thanks

-Abner
