VisiblePlugin

[AS3/AS2] Toggles the visibility at the end of a tween. For example, if you want to set visible to false at the end of the tween, do:

TweenLite.to(mc, 1, {x:100, visible:false});

The visible property is forced to true during the course of the tween.

Usage

import com.greensock.TweenLite; 
import com.greensock.plugins.TweenPlugin; 
import com.greensock.plugins.VisiblePlugin; 
TweenPlugin.activate([VisiblePlugin]); //activation is permanent in the SWF, so this line only needs to be run once.
TweenLite.to(mc, 1, {x:100, visible:false}); 

Get GSAP

Version: 1.20.4 updated 2018-02-15

Core

    Extras

      Plugins

        By using GreenSock code, you agree to the terms of use.

        Help support GreenSock by becoming a member

        Join Club GreenSock