0 Replies Latest reply on Jun 24, 2011 7:03 AM by Macnimation

    Button action to trigger event just once

    Macnimation Level 1



      I have created a text box that flies in when a button is clicked. This works fine.


      On the text box, there is another button that when clicked, reverses the animation to make the text box move off the screen. This works fine.


      My problem is, is that when I click the Button to make the text box appear the first time, clicking the same button when the text box is on the screen causes it to animate in again. I want it disabled if possible, or no longer able to trigger the animation again.


      I would like it so that it cannot trigger the animation again, but only let the user click the button to make it move off the screen.


      Is this possible?