# Help with faulty links

**URL:** <https://forum.kirupa.com/t/help-with-faulty-links/63675>\
**Category:** Uncategorized\
**Created:** [September 9, 2004, 1:13am UTC](https://forum.kirupa.com/t/help-with-faulty-links/63675 "2004-09-09T01:13:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![niffum](https://avatars.discourse-cdn.com/v4/letter/n/f17d59/32.png) [@niffum](https://forum.kirupa.com/u/niffum)\
**Post date:** [September 9, 2004, 1:13am UTC](https://forum.kirupa.com/t/help-with-faulty-links/63675/1 "2004-09-09T01:13:28Z")

</div>

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 :]

---

<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 9, 2004, 1:24am UTC](https://forum.kirupa.com/t/help-with-faulty-links/63675/2 "2004-09-09T01:24:03Z")

</div>

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

---

<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 9, 2004, 1:41am UTC](https://forum.kirupa.com/t/help-with-faulty-links/63675/3 "2004-09-09T01:41:03Z")

</div>

haha sorry. here’s a link:

[main.fla](http://www.intersponsor.com/main.fla)

---

<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 9, 2004, 5:53am UTC](https://forum.kirupa.com/t/help-with-faulty-links/63675/4 "2004-09-09T05:53:38Z")

</div>

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!!!🐇

---

<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 9, 2004, 10:04pm UTC](https://forum.kirupa.com/t/help-with-faulty-links/63675/5 "2004-09-09T22:04:03Z")

</div>

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

---

<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 9, 2004, 10:36pm UTC](https://forum.kirupa.com/t/help-with-faulty-links/63675/6 "2004-09-09T22:36:44Z")

</div>

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. 😃

---

<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 9, 2004, 10:57pm UTC](https://forum.kirupa.com/t/help-with-faulty-links/63675/7 "2004-09-09T22:57:42Z")

</div>

thanksthanks

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

---

<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 9, 2004, 10:59pm UTC](https://forum.kirupa.com/t/help-with-faulty-links/63675/8 "2004-09-09T22:59:03Z")

</div>

You’re welcome. :thumb:
