PDA

View Full Version : FMX Scripted masks...need advice and help.



beanpie
March 19th, 2004, 07:34 PM
Hi everyone. So I have a client who is IN LOVE with this site:

http://www.palazzoversace.com/

(intro is terribly long).

I was just getting ready to start tweening and wondered if there's a way to script masks to do the same thing easily...NOT on mouse drag, but on the click of the button. I found a nice tutorial which will make a similar thing happen when you drag the mouse. But when I tried to target x and y the whole thing fell apart.

I'm fairly new to AS, but I'm more than willing to give it the ol' college try if it'll keep my file size down.

Any help/advice would be greatly appreciated. Told the client I'd ask around and get back to them.

Thanks!

-B

Inflicted
March 20th, 2004, 05:45 AM
Can you post your code or fla?

beanpie
March 20th, 2004, 10:05 AM
No, I don't have any code yet, nor FLA - the Client just wants something that looks like that and I'm trying to figure out how to script a mask to move from point a to point b on button press.

Can anybody help?

Thanks in advance.

-B

Seticus
March 20th, 2004, 02:37 PM
to make an mc move and scale...http://www.kirupaforum.com/forums/showthread.php?s=&threadid=50980

to set an mc as a mask of another mc:
myMovieClip.setMask (maskMovieClip);