A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: I need to flip

  1. #1
    Junior Member
    Join Date
    Nov 2001
    Posts
    21

    I need to flip

    Hi i need to flip an object along the x or y axis. i want to be able to flip the 2D object in one of the 4 directions each time the user clicks. (like a scale -100%) but that dosent seem work

    Hope some one can help before i lose sleep over this

    Regards

  2. #2
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    Flip horizontal

    on (release) {
    instanceNameOfClip._xscale *= -1;
    }

    Flip vertical

    on (release) {
    instanceNameOfClip._yscale *= -1;
    }

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