Is it possible to use the animation package to adjust properties such as _visible?
My current issues is this:
I have a number of buttons (MovieClips) that use the Alpha class to fade into the stage. When they are set to 0 _alpha they are still clickable and I wish to keep them not visible until they begin the alpha tween, but would prefer to do this within the Animation rather than setInterval (or something of that sort).
Does anyone know if there's a class capable of doing this that I'm overlooking or a nifty hack for this issue?
Thanks in advance!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In your instance, it sounds that you would want to trigger a i.e. _visible property on the onEnd event of one of your AP effects. Is that what you want? Otherwise, try the Pause class for an alternative to setInterval. This supports frames as well. If you want to repeat some code on a tween interval, check out SingleAnimator or Animator.
Best,
Alex
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it possible to use the animation package to adjust properties such as _visible?
My current issues is this:
I have a number of buttons (MovieClips) that use the Alpha class to fade into the stage. When they are set to 0 _alpha they are still clickable and I wish to keep them not visible until they begin the alpha tween, but would prefer to do this within the Animation rather than setInterval (or something of that sort).
Does anyone know if there's a class capable of doing this that I'm overlooking or a nifty hack for this issue?
Thanks in advance!
In your instance, it sounds that you would want to trigger a i.e. _visible property on the onEnd event of one of your AP effects. Is that what you want? Otherwise, try the Pause class for an alternative to setInterval. This supports frames as well. If you want to repeat some code on a tween interval, check out SingleAnimator or Animator.
Best,
Alex