ScalePlugin

[AS3/AS2] ScalePlugin combines scaleX and scaleY into one scale property.

Usage

import com.greensock.TweenLite; 
import com.greensock.plugins.TweenPlugin;
import com.greensock.plugins.ScalePlugin; 
TweenPlugin.activate([ScalePlugin]); //activation is permanent in the SWF, so this line only needs to be run once.
TweenLite.to(mc, 1, {scale:2});  //tweens horizontal and vertical scale simultaneously 

Get GSAP

Version: 2.0.1 updated 2018-05-30

Core

    Extras

      Plugins

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

        For an all-access pass to premium content

        Join Club GreenSock