# Few questions

**URL:** https://forum.kirupa.com/t/few-questions/65977
**Category:** Uncategorized
**Created:** [October 1, 2004, 4:31am UTC](https://forum.kirupa.com/t/few-questions/65977 "2004-10-01T04:31:26Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![laforge](https://avatars.discourse-cdn.com/v4/letter/l/3da27b/32.png) [@laforge](https://forum.kirupa.com/u/laforge)
#### Post date: [October 1, 2004, 4:31am UTC](https://forum.kirupa.com/t/few-questions/65977/1 "2004-10-01T04:31:26Z")

</div>

Ok i have a few questions to ask.

1. Is there a way to make it so that when someone clicks a button that is goes to a certian frame and plays from there?
2. How do i make a scroll bar in a box?

If you don’t get what i am asking please just post and i will try to explain better

---

<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: [October 1, 2004, 4:34am UTC](https://forum.kirupa.com/t/few-questions/65977/2 "2004-10-01T04:34:38Z")

</div>

1. Select your button and open the Actions Panel (F9), copy & paste this:[AS]on (press) {  
gotoAndPlay(frame#);  
}[/AS]Pretty self-explanatory, just change frame#.

2. You can use the Scrollbar Component (Components Panel).  
Create a **Dynamic** , **Multiline** text box and then click and drag the Scrollbar from the Components panel into the text box.

---

<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: [October 1, 2004, 4:38am UTC](https://forum.kirupa.com/t/few-questions/65977/3 "2004-10-01T04:38:06Z")

</div>

Thanks for the quick reply

---

<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: [October 1, 2004, 4:41am UTC](https://forum.kirupa.com/t/few-questions/65977/4 "2004-10-01T04:41:37Z")

</div>

No 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: [October 1, 2004, 4:49am UTC](https://forum.kirupa.com/t/few-questions/65977/5 "2004-10-01T04:49:41Z")

</div>

One problem with the dynamic text is that i can’t make a hyperlink. Or i can’t find a way. Any help is appretiated

---

<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: [October 1, 2004, 4:52am UTC](https://forum.kirupa.com/t/few-questions/65977/6 "2004-10-01T04:52:17Z")

</div>

Select the _Render Text as HTML_ button, it looks like this **\< \>** in the Properties panel. Then just type in the URL beneath that.

---

<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: [October 1, 2004, 5:02am UTC](https://forum.kirupa.com/t/few-questions/65977/7 "2004-10-01T05:02:07Z")

</div>

Hate to keep bugging you but the frame thing doesn’t work. I makes it clickable but when i click it nothing happens. I have the frame number right. I put a key frame at the frame. Do i need one on every layer?

---

<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: [October 1, 2004, 5:06am UTC](https://forum.kirupa.com/t/few-questions/65977/8 "2004-10-01T05:06:20Z")

</div>

No, you don’t need one on every layer.

I don’t know why it wouldn’t be working… if you’d like, you can either post your file here, or you could email it to me so I can take a look at it (forum.wizard[at][gmail.com](http://gmail.com)). Save it for Flash MX.

Also, is your button inside of a Movie Clip?

---

<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: [October 1, 2004, 5:17am UTC](https://forum.kirupa.com/t/few-questions/65977/9 "2004-10-01T05:17:49Z")

</div>

> [@wizard](#):
>
> No, you don’t need one on every layer.
> 
> I don’t know why it wouldn’t be working… if you’d like, you can either post your file here, or you could email it to me so I can take a look at it (forum.wizard[at][gmail.com](http://gmail.com)). Save it for Flash MX.
> 
> Also, is your button inside of a Movie Clip?

I will email or post it later, but does it have to be in a movie clip?

---

<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: [October 1, 2004, 5:23am UTC](https://forum.kirupa.com/t/few-questions/65977/10 "2004-10-01T05:23:15Z")

</div>

No, I was just asking if it _was_ inside of a clip, you would have to change the ActionScript to:[AS]on (release) {  
\*\*\_root.\*\*gotoAndPlay(Frame#);  
}[/AS]

---

<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: [October 1, 2004, 5:27am UTC](https://forum.kirupa.com/t/few-questions/65977/11 "2004-10-01T05:27:29Z")

</div>

Oh i think i know what might be the problem. On the same frame but diffrent layer i have a stop action. Just so that is can pause and wait for the person to click it. Could that of affected it somehow?

---

<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: [October 1, 2004, 4:47pm UTC](https://forum.kirupa.com/t/few-questions/65977/12 "2004-10-01T16:47:17Z")

</div>

Can someone help me please, i really need this done by friday

---

<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: [October 1, 2004, 5:49pm UTC](https://forum.kirupa.com/t/few-questions/65977/13 "2004-10-01T17:49:59Z")

</div>

> [@laforge](#):
>
> Oh i think i know what might be the problem. On the same frame but diffrent layer i have a stop action. Just so that is can pause and wait for the person to click it. Could that of affected it somehow?

No, the stop action should not have affected it because you’re using gotoAndPlay which should just ignore the stop(); .

---

<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: [October 2, 2004, 12:28am UTC](https://forum.kirupa.com/t/few-questions/65977/14 "2004-10-02T00:28:20Z")

</div>

Hmm i am going to just give you the fla and see what you can do

---

<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: [October 2, 2004, 12:42am UTC](https://forum.kirupa.com/t/few-questions/65977/15 "2004-10-02T00:42:39Z")

</div>

Here is the fla it is in MX

---

<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: [October 2, 2004, 1:30am UTC](https://forum.kirupa.com/t/few-questions/65977/16 "2004-10-02T01:30:55Z")

</div>

You have a button within a button it looks like. :h:

Well, okay it doesn’t matter… I think I fixed it.

This is the script that I gave the button inside the other button:[AS]on (release) {  
\_root.gotoAndPlay(60);  
}[/AS]I used root since it was inside of another symbol and needed to go back to the main timeline.

Also, your script said _gotoAndPlay(frame60)_ and I think this is my fault for assuming that you would’ve understood me & my previous posts. Sorry.

Well, let me know if this is what you needed. 😉

---

<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: [October 2, 2004, 2:17am UTC](https://forum.kirupa.com/t/few-questions/65977/17 "2004-10-02T02:17:19Z")

</div>

Lol no prob live and learn. Thanks for fixing 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: [October 2, 2004, 3:45am UTC](https://forum.kirupa.com/t/few-questions/65977/18 "2004-10-02T03:45:21Z")

</div>

i found your problem, its not

```auto

on (press) {
	gotoAndPlay(frame60);
}

```

its

```auto

on (press) {
	gotoAndPlay(60);
}

```

you just need to put the frame #, not frame#

---

<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: [October 2, 2004, 6:05am UTC](https://forum.kirupa.com/t/few-questions/65977/19 "2004-10-02T06:05:23Z")

</div>

Any time. :}
