PDA

View Full Version : Pb with MASK


xxlm
02-27-2002, 12:44 PM
HI!

Ok, here the PB.
I've made a button , and i duplicated it "Number" time.
User can move the _y position of these buttons (all the _y move together). But i want these buttons disapears when arrived to a certain _y position (up and down... like a scroll list!).

So i've made a mask, with a MC (my object uses to make the MASK, call it "MASKMC") within. I use mc, because i need to move it's _x and _y posiiton. BUT two things happened.

The first one is that "MASKMC" doesn't move to the position it will be. So i try to put it in another layer (this one is not a mask), and it works.So my first question is why i can change the property of MASKMC when it is in the MASK layer?

The second is that the button i've duplicated, always been above all the object in my scene even if i put the layer where they are in the lower of the layers scene! Right! Why i cannot mask them?

It will probably be a little things to do, but when you're always in it, your eyes, and your brain not necessarily see the solution.

SO HELP ME PLEASE...
It's to make a sort list for CD catalogue. The object of the list (and there links) are totaly customized from text file. Each buton have a text and a link taken from the two text files.
:D
Thanx

farafiro
02-27-2002, 01:58 PM
post the fla

poab
02-27-2002, 04:12 PM
Hi,

Masks are rendered, or some technical word like that as soon as you load the movie, so there's some things that you can't do with them. Dragging would be an obvious example.

cheers

xxlm
02-27-2002, 10:22 PM
The .fla is attach with tis reply...

Ok for the mask, we cannot drag it!

So that's why i try to put my buttons under some graphics made in upper layer. But buttons are always in the foreground...Why ?:confused:

Thanx

farafiro
02-28-2002, 08:07 AM
Hey, If it's a matter of scrolling text, Just put it in a text box and scroll it even if it's from an external file.
here check the tut

http://www.actionscript.org/tutorials/intermediate/scrolling_text/index.shtml

http://www.actionscript.org/tutorials/intermediate/scrolling_a_text_box/index.shtml

http://www.actionscript.org/tutorials/intermediate/scrolling_a_text_box_II/index.shtml

xxlm
02-28-2002, 12:23 PM
And easier to use.

I'll try it! Thanx a lot farafiro...