A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Problem with Masking

  1. #1

    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

  2. #2
    Senior Member
    Join Date
    Feb 2002
    Posts
    375
    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;
    }


  3. #3
    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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center