# Noob question probably

**URL:** <https://forum.kirupa.com/t/noob-question-probably/62275>\
**Category:** Uncategorized\
**Created:** [August 26, 2004, 12:12pm UTC](https://forum.kirupa.com/t/noob-question-probably/62275 "2004-08-26T12:12:28Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![zacus](https://avatars.discourse-cdn.com/v4/letter/z/278dde/32.png) [@zacus](https://forum.kirupa.com/u/zacus)\
**Post date:** [August 26, 2004, 12:12pm UTC](https://forum.kirupa.com/t/noob-question-probably/62275/1 "2004-08-26T12:12:28Z")

</div>

hi im trying to make a simple all flash web page but there is a problem with my buttons and switching between scenes,  
unfortunately i dont have a web page so i cant just upload the fla, but heres my actionscript

on (release) {gotoAndStop(2);  
}

nothing too difficult about that, its for a button, leading to a larger picture on scene 5!, ive tried to just do  
on (release) {gotoAndStop(5);  
}  
but it doesnt work and goes to another scene, i dont get it, im using flash 04 pro and id love to figure out wat im doing right

hope i explained that well enough for u

thank you

---

<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:** [August 26, 2004, 12:50pm UTC](https://forum.kirupa.com/t/noob-question-probably/62275/2 "2004-08-26T12:50:38Z")

</div>

Hmm… Do you have a keyframe in frame #5?  
And if I were you, i would write the code:

on (release) {  
gotoAndStop(5);  
}

---

<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:** [August 26, 2004, 1:05pm UTC](https://forum.kirupa.com/t/noob-question-probably/62275/3 "2004-08-26T13:05:52Z")

</div>

yeah i tried changing the AC to what you said but theres one thing i think i forgot to mention, i did EXACTLY the same AC for the enter page, and for the home page buttons and they owrk perfectly, i cant figure out what is going on

:h:

---

<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:** [August 26, 2004, 1:19pm UTC](https://forum.kirupa.com/t/noob-question-probably/62275/4 "2004-08-26T13:19:05Z")

</div>

I see…

You’re trying to do a simple flash webpage? And you have the different pages, in lets say… “Home” in frame 1, and “About” in frame 5 etc etc.? And the buttons takes you to the different frames?

---

<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:** [August 26, 2004, 1:25pm UTC](https://forum.kirupa.com/t/noob-question-probably/62275/5 "2004-08-26T13:25:00Z")

</div>

if you are using scenes to set up your movie the scene name has to be in quotes

gotoAndPlay(“SceneName”);

---

<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:** [August 26, 2004, 1:25pm UTC](https://forum.kirupa.com/t/noob-question-probably/62275/6 "2004-08-26T13:25:07Z")

</div>

yeah, like i hav the AC, like what you posted, and it takes you to a different scene from the one you had written

btw i checked that i had the “gotoAndStop” part on scene not frame so thats not it

---

<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:** [August 26, 2004, 1:28pm UTC](https://forum.kirupa.com/t/noob-question-probably/62275/7 "2004-08-26T13:28:10Z")

</div>

didn’t you say that the movie is set up with scenes and you want them to jump from scene to scene? i’m not understanding you correctly i think…

---

<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:** [August 26, 2004, 1:29pm UTC](https://forum.kirupa.com/t/noob-question-probably/62275/8 "2004-08-26T13:29:10Z")

</div>

thanks il try that, but uhh _embarressed_ i dont really know how to name scenes

eh il just type their default name

ty again

---

<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:** [August 26, 2004, 1:34pm UTC](https://forum.kirupa.com/t/noob-question-probably/62275/9 "2004-08-26T13:34:27Z")

</div>

well i tried putting “5” and “Scene 5” instead of just 5, but that just made it not work at all,

btw i forgot to mention im working in AS2

make a difference?

---

<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:** [August 26, 2004, 1:37pm UTC](https://forum.kirupa.com/t/noob-question-probably/62275/10 "2004-08-26T13:37:42Z")

</div>

Try this one out:

[http://www.kirupa.com/developer/mx/full\_site.htm](http://www.kirupa.com/developer/mx/full_site.htm)

It tells you, how to do a simple, and fairly nice flash site. And if you allready know some flash basics, you can allways experiment! :}

---

<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:** [August 26, 2004, 1:39pm UTC](https://forum.kirupa.com/t/noob-question-probably/62275/11 "2004-08-26T13:39:17Z")

</div>

ty

---

<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:** [August 26, 2004, 1:53pm UTC](https://forum.kirupa.com/t/noob-question-probably/62275/12 "2004-08-26T13:53:27Z")

</div>

thanks guys i figured it out, just put evrything in keyframes instead of scenes
