2 Replies Latest reply on May 27, 2008 5:18 AM by Newsgroup_User

    Tweener class

    flashlearning11
      I wanted a movieclip to appear and disappear after the push of a button. I tried:

      on(release){
      import caurina.transitions.Tweener;
      Tweener.addTween(mymovieclip, {_alpha:100, time:2});
      Tweener.addTween(mymovieclip, {_alpha:0, time:2});
      }

      On the other hand:

      on (release){
      import caurina.transitions.Tweener;
      Tweener.addTween(mymovieclip, {_alpha:0, time:2});
      }


      and

      on (release){
      import caurina.transitions.Tweener;
      Tweener.addTween(mymovieclip, {_alpha:100, time:2});
      }

      work fine.

      How can I accomplish it?