Help me with Flash!!!

Tab

Lifer
Sep 15, 2002
12,145
0
76
My Project

What I want to happen when I click on "Fargo Button" It'll goto a new scene and play from frame one.

To do this I'd normally double click on the "Fargo Button" to get into the Action Panel and add the following

gotoAndPlay(4,1);

Now, that should goto Scene four or "Fargo-Trans" and start playing. Instead I get the following error message.

**Error** Scene=Intro, layer=Button Bar, frame=1:Line 1: Scene name must be quoted string

What am I doing wrong? Am I not somehow putting the code in the Button Layer or that specific Button? I want that button to goto a specific Scene and the other Buttons in the same Frame to goto other scenes...
 

Legendary

Diamond Member
Jan 22, 2002
7,019
1
0
Find the place where you named passed a scene name and put quotes around it?
 

Mo0o

Lifer
Jul 31, 2001
24,227
3
76
THe code looks odd, shouldn't it be

on(release){
gotoAndPlay(4,1);
}

?

let me see your .fla and i can debug it for you. ANd as a general rule it is better to work it movie clips instead of individual scenes
 

Mo0o

Lifer
Jul 31, 2001
24,227
3
76
on(release){
gotoAndPlay("Fargo", 1);
}

Use that. For some reason your movie takes a really long time to load, and personally i would use one large movie clip to hold 3 different movie clips that represent each place , Fargo, Berlin etc etc. It saves the scenes which makes things much easier to work with.