A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Code For Flipping Puzzle Pieces Horizontal and Vertical

  1. #1
    Junior Member
    Join Date
    Jul 2006
    Posts
    1

    Code For Flipping Puzzle Pieces Horizontal and Vertical

    Does anyone know the code so that when you press a button, a puzzle piece flips horizontal or vertical or both? Thanks.

  2. #2
    FK Slacker
    Join Date
    Jun 2000
    Location
    vancouver
    Posts
    3,208
    To flip vertical:

    mc._yscale*=-1;

    To flip horizontal:

    mc._xscale*=-1;

    HTH,

    K.

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