English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i'm trying to create a website using flash. it's been a LONG time since ive used it and basically forgot everything. Let's say i have 2 buttons that i imported from the common library. i need to be able to click 'button 2' and go to frame 2. i need to be able to click 'button1' from frame 2 and go back to frame 1.

the action that i have on 'button 2' says something like:

on(release){
gotoandplay(2);
}

what am i doing wrong?

2006-06-11 16:10:36 · 3 answers · asked by Derek D 2 in Computers & Internet Programming & Design

gotoandstop didnt work either

2006-06-11 16:15:53 · update #1

do the frames need to be in different layers?

2006-06-11 16:18:33 · update #2

3 answers

personally i always put
stop();
in every frame that is being moved to this is a backup and prevents things like this happening
also

gotoAndStop();
gotoAndPlay();

it is case sensative

i design lots of sites and use a scene for each section etc.

www.algarvianvillas.com

all you do is have a fade in and fade out an pass a variable of button press fade out the use case statements to choose which scene to go to.

2006-06-12 03:06:17 · answer #1 · answered by indieboy 5 · 0 0

Try changing it from gotoandPLAY to gotoandSTOP. Having it as gotoandplay will cause it to continue past frame 2 or, if frame 2 is the last frame, cause it to go back to the beginning.

2006-06-11 16:14:35 · answer #2 · answered by Anonymous · 0 0

if you want to make a site of your own for free, or may be a business site, a professional one, you must check out this one, http://createwebsite.50webs.com/ has all the information you require, and also get more people to visit your site, search engine submittions, and many more, just check it out,

2006-06-13 21:11:36 · answer #3 · answered by uttoransen 2 · 0 0

fedest.com, questions and answers