Package | com.greensock.plugins |
Class | public class StageQualityPlugin |
Inheritance | StageQualityPlugin TweenPlugin Object |
quality
to a particular value during a tween and another value after
the tween which can be useful for improving rendering performance in the Flash Player while things are animating.
USAGE:
import com.greensock.TweenLite; import com.greensock.plugins.TweenPlugin; import com.greensock.plugins.StageQualityPlugin; import flash.display.StageQuality; TweenPlugin.activate([StageQualityPlugin]); //activation is permanent in the SWF, so this line only needs to be run once. TweenLite.to(mc, 1, {x:100, stageQuality:{stage:this.stage, during:StageQuality.LOW, after:StageQuality.HIGH}});
Copyright 2008-2013, GreenSock. All rights reserved. This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for Club GreenSock members, the software agreement that was issued with the membership.