# Scrollable menu with mask

**URL:** https://forum.kirupa.com/t/scrollable-menu-with-mask/61564
**Category:** Uncategorized
**Created:** [August 19, 2004, 4:37pm UTC](https://forum.kirupa.com/t/scrollable-menu-with-mask/61564 "2004-08-19T16:37:49Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![launchpad](https://avatars.discourse-cdn.com/v4/letter/l/848f3c/32.png) [@launchpad](https://forum.kirupa.com/u/launchpad)
#### Post date: [August 19, 2004, 4:37pm UTC](https://forum.kirupa.com/t/scrollable-menu-with-mask/61564/1 "2004-08-19T16:37:49Z")

</div>

I have created a scrollable menu (from the kirupa tutorial) with a left and right button. I want different text to appear when you rollover the four buttons that form the menu but the text needs to appear over the space where the fourth button should be, i.e. where it masks out the excess menu. I’ve tried dynamic text with the action script:

on (rollOver) {  
Text\_Area.text = “\<Insert the text here\>”;  
}

and have also tried making the over state of the button a mc and inserting the text on the separate timeline but the text only appears in the mask. If anyone can help I would worship them for eternity! :be:

---

<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: [August 19, 2004, 7:20pm UTC](https://forum.kirupa.com/t/scrollable-menu-with-mask/61564/2 "2004-08-19T19:20:50Z")

</div>

the text will only appear in the mask.

the object that you have on the mask layer will act as a window kinda for the layer its masking. i know its kinda a backwards definition but oh well.

---

<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: [August 19, 2004, 9:34pm UTC](https://forum.kirupa.com/t/scrollable-menu-with-mask/61564/3 "2004-08-19T21:34:55Z")

</div>

> [@julpa](#):
>
> the text will only appear in the mask.
> 
> the object that you have on the mask layer will act as a window kinda for the layer its masking. i know its kinda a backwards definition but oh well.

Thanks for your response! Are you saying that there is no way of doing it and I should move the text layer to the mask or elsewhere?

---

<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: [August 19, 2004, 11:49pm UTC](https://forum.kirupa.com/t/scrollable-menu-with-mask/61564/4 "2004-08-19T23:49:02Z")

</div>

hmm im having trouble understanding what your saying its probably my fault.

ok is the problem “my text isnt scrolling” or “my text is not showing up where i want it to”

e-mail me the fla if you want [tigeronfire445@yahoo.com](mailto:tigeronfire445@yahoo.com)

---

<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: [August 20, 2004, 8:28am UTC](https://forum.kirupa.com/t/scrollable-menu-with-mask/61564/5 "2004-08-20T08:28:38Z")

</div>

> [@julpa](#):
>
> hmm im having trouble understanding what your saying its probably my fault.
> 
> ok is the problem “my text isnt scrolling” or “my text is not showing up where i want it to”
> 
> e-mail me the fla if you want [tigeronfire445@yahoo.com](mailto:tigeronfire445@yahoo.com)

Thanks again for replying! The problem is that the text is not showing up where I want it to because I want it to appear where it makes part of the menu disappear - there must be a way round it. Anyway I’ll send the fla file to you and await further orders! C:-)

---

<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: [August 20, 2004, 8:47pm UTC](https://forum.kirupa.com/t/scrollable-menu-with-mask/61564/6 "2004-08-20T20:47:13Z")

</div>

ok well i didnt get the fla but i now understand what your problem is.

im going to define a mask. if you dont know realy quick and maybe that will clear some of this up.

first to create a mask you create a layer right above the layer with the object on it you want to be masked. then you right click the upperlayer and hit mask. it should od this little indention thing and the signs on the layers will change. it will also lock both layers and you will have to unlock them.

ok now what a mask does is people usually add a large object on the masking layer. and only what that object covers in the lower layer will show during runtime.

if your e-mail is enabled then i will e-mail you a simple mask.

---

<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: [August 20, 2004, 8:48pm UTC](https://forum.kirupa.com/t/scrollable-menu-with-mask/61564/7 "2004-08-20T20:48:27Z")

</div>

your e-mails not enabled but if you want me to send you a example post your address or send me a e-mail.

---

<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: [August 23, 2004, 9:17am UTC](https://forum.kirupa.com/t/scrollable-menu-with-mask/61564/8 "2004-08-23T09:17:28Z")

</div>

> [@julpa](#):
>
> your e-mails not enabled but if you want me to send you a example post your address or send me a e-mail.

Hi Julpa,

I’ve enabled my emails now so you can send me files. I know how to do masks so you don’t need to send me an example. The file named ‘promotional.fla’ is the problem - it has a movie clip with four buttons which on rollover should load dynamic text - this doesn’t work. However the file ‘test.fla’ does work. I’ve sent the files to [tigeronfire445@yahoo.com](mailto:tigeronfire445@yahoo.com). Can you tell me what i’m doing wrong? :mu:
