AS2: Fade and Remove a target MC with Fuse


/ Published in: ActionScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. public function hideElement():Void{
  2. ZigoEngine.doTween( this, '_alpha', [ 0 ], 1, "easeOutExpo", 0, {scope:this, func:'removeElement'});
  3. } // END hideElement()
  4. public function removeElement():Void{
  5. this.removeMovieClip();
  6. } // END removeElement()

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.