# A little newbie question

**URL:** <https://forum.kirupa.com/t/a-little-newbie-question/65644>\
**Category:** flash\
**Created:** [September 28, 2004, 12:17pm UTC](https://forum.kirupa.com/t/a-little-newbie-question/65644 "2004-09-28T12:17:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![spiffer25](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@spiffer25](https://forum.kirupa.com/u/spiffer25)\
**Post date:** [September 28, 2004, 12:17pm UTC](https://forum.kirupa.com/t/a-little-newbie-question/65644/1 "2004-09-28T12:17:33Z")

</div>

Hey

I´m currently building a flash-website for myself. I have constructed a menu using the “menu with slider” tutorial. I have build the menu within a movieclip, and dragged the whole thing on to the main stage. I´m now trying to make the first button send the main movie to frame 2. But I just can´t seem to make it work…and it´s driving me crazy.

This is the script currently assignet to the button.

on (rollOver) {  
// slider - Movie Clip’s Instance Name. button\_1 - Button’s Instance Name.  
slider.xMove = button\_1.\_x;  
}  
on (release) {  
gotoAndStop (2);  
}

I have´nt worked with flash for a long time, last time was with Flash 5. I´m building THIS site with Flash MX 2004 Professional.

I reeeally hope someone can help me 🙂

Peter

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 28, 2004, 12:23pm UTC](https://forum.kirupa.com/t/a-little-newbie-question/65644/2 "2004-09-28T12:23:52Z")

</div>

Hi,

I am fairly new with flash. I think you might need to change “gotoAndStop(2);” to "gotoAndPlay(2); and then on frame 2 enter “stop();” this will make it stop at frame 2.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 28, 2004, 12:26pm UTC](https://forum.kirupa.com/t/a-little-newbie-question/65644/3 "2004-09-28T12:26:31Z")

</div>

howzit spliffer,

try put \_root. in from of you gotoAndPlay(2);

\_root.gotoAndPlay(2);

If you have the button ‘inside’ a movieclip then gotoAndPlay(2); will got to and play the 2nd frame of the movieclip’s (timeline) rather than the 2nd frame of the main movie’s (timeline) - which you can point to by putting \_root. in front of your command.

hope this helps - if not e-mail me @ [devin@eircom.net](mailto:devin@eircom.net)

dev \*

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 28, 2004, 12:48pm UTC](https://forum.kirupa.com/t/a-little-newbie-question/65644/4 "2004-09-28T12:48:04Z")

</div>

I tried putting \_root in front of it. And now it works perfectly.

Thank you VERY much 🙂
