A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: button - multiple presses

  1. #1
    Junior Member
    Join Date
    Feb 2002
    i created a button that rotates another instance 90 degrees on release of the button but i can't get it to rotate the instance more than once. after the first 90 degree rotation it wont rotate again. can someone help me on how to make this rotate everytime i click the button? thank you

  2. #2
    Join Date
    Mar 2000
    Madison, WI
    I'm guessing your code looks something like this:

    on (release) {
    mc._rotation = 90;

    Instead, try this:

    on (release) {
    mc._rotation += 90;

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