VolumePlugin

[AS3/AS2] Tweens the volume of an object with a soundTransform property (MovieClip/SoundChannel/NetStream, etc.).

Usage

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

Get GSAP

Version: 1.20.3 updated 2017-10-02

Core

    Extras

      Plugins

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

        Help support GreenSock by becoming a member

        Join Club GreenSock