PDA

View Full Version : masks and stopping


jen2650
06-29-2005, 09:30 PM
my problem is two-fold.... i am trying to make a simple image mask for a scrolling image and also i need the image to stop when the mouse is over it. how do i do these things? :rolleyes: please help as quickly as possible :p

LJK
07-01-2005, 03:09 PM
Hi -
Recently finished a test but made the mask m.clip move and left the long, vt. pic stationary. [Just moves down, revealing the pic, then returns to top after a couple of seconds due to height setting.] Here's the main AS if you want to test it:

onEnterFrame=function(){
mask_mc._y +=2;
if(mask_mc._y >=600){
mask_mc._y = -50;
}
}

It'd be pretty easy to make an additional event to startDrag();
for the mask clip. [This was the first time I'd successfully used a gradient above the mask to get a fade to transparency...cool.]

Good luck,
El

jen2650
07-02-2005, 04:29 PM
thanks for the help. :)