1 Reply Latest reply on Apr 18, 2008 7:00 AM by robdillon

    question about onPress  button continuous

      hi all,

      i just want to know how can i click the mouse and don't release , the follwing function can increase the photo size continuous.

        • 1. Re: question about onPress  button continuous
          robdillon Most Valuable Participant
          If you want an action to repeat, you'll have to tell Flash to do that over and over again. An onRelease event is just a single event, it only happens once. Your user will have to keep pressing the button over and over. Alternately, you can use an enterFrame method, or a setInterval() method, to create a repeating event. Here's an example using enterFrame: