-
Senior Member
Problem with Masking
I want a masking effect something like nike.com
I want when we put mouse over an image and move the mouse, it will show the masking effect. That is , it will show the picture in the background as we move the mouse. Otherwise it will show nothing.
Please see nike.com. I want the same effect.
Please help me .
I am in trouble
Salim
-
Just create an mc which is your mask, put this as a mask on top of your background image and then put the following code onto the mask_mc
onClipEvent (enterFrame) {
_x-=(_x-_root._xmouse)/5;
}
-
Senior Member
Thank u very very much.
I am really very happy.
I can't express myself.
I am very happy.
Thank u
Salim
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|