Menu

_visible and other properties

Help
2006-10-11
2013-04-01
  • MotherErich

    MotherErich - 2006-10-11

    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!

     
    • Alex Uhlmann

      Alex Uhlmann - 2006-10-20

      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

       

Log in to post a comment.