Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    mouse events X coordinates

    Hello

    How would I scale an image using the X coordinates? I don't want to shrink the image. The effect I'm going for would be... When the mouse is in the middle of the stage you would only be able to see half of the image and as the mouse is moved to the left you can see more of the image, and as the mouse is moved to the right, you can see less of the image. How can I do this? Thanks in advance

  • #2
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well I think I got it.... transformed image to movie clip and inside the movie clip inserted new layer on top as a mask and gave instance name. Used the mask to cover up the actual image and follow the mouse on x coordinate unmasking and masking as mouse moves


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •