Help with faulty links

i’m having a bit of trouble with hyperlinks. i linked six buttons to six different scenes. however when i click on one, it either stays the same or loads a different scene.

anyone mind looking at my fla and telling me what i’m doing wrong?

thanks a bunch :]

Oh I know what you’re doing wrong… there’s nothing in your file. :stuck_out_tongue:

haha sorry. here’s a link:

main.fla

I just took a peek into your fla….looks like you are a lil confused with the usage of gotoAndPlay.

the correct usage is
[color=blue]gotoAndPlay([scene], frame)[/color]
eg :
[color=green]gotoAndPlay(“scenename”,1)[/color]
or
[color=green]gotoAndPlay(“scenename”,”framelabelname”)[/color]
however if you want to got to and play a frame in the same scene then the [color=blue]scene name is optional[/color] but frame no or framelabel is a must…

eg :
[color=green]gotoAndPlay(1)[/color]
or
[color=darkgreen]gotoAndPlay(”framelabelname”)[/color]
What you have got on your button at the moment is
[color=teal]on(release){[/color]
[color=teal]gotoAndPlay(“home”);[/color]
[color=teal]}[/color]
So what’s happening here is “home” is considered as a framelabel and not a scene name …that’s why you are getting all the errors…
So on the buttons you should be writing
[color=darkgreen][/color]
[color=darkgreen]on(release){[/color]
[color=darkgreen]gotoAndPlay(“home”,1);[/color]
[color=darkgreen]}[/color]
Do the same with all the buttons code…this will fix up your bugs…

[color=blue]P.S:[/color]
some suggestions:
1.the transition thing can be a movieclip symbol instead of a graphic symbol…
2.get rid of scenes instead use framelabels…use scenes only when 2 scenes are very much different visually(…the artwork…look and feel… etc)
3.HAPPY BUG FIXING!!!:rabbit:

thanks so much. do you know of any good tutorials explaining how i make/use framelabels?

sorry for my lack of flash knowledge. this is my first attempt

You select the frame you wish to add a (Frame) Label to. In your Properties Panel you should see: <Frame Label>. Type your Frame Label in there… now, to target it:[AS]gotoAndPlay(“FrameLabel”);[/AS]Instead of using a frame number or scene name, you simply use the label you gave a frame, hence the name Frame Label. :smiley:

thanksthanks

works like a charm and you solved my one week problem :]

You’re welcome. :thumb: