Package | com.greensock.plugins |
Class | public class RoundPropsPlugin |
Inheritance | RoundPropsPlugin TweenPlugin Object |
TweenMax.to(mc, 2, {x:300, y:200, alpha:0.5, roundProps:"x,y"});
USAGE:
import com.greensock.TweenMax; import com.greensock.plugins.RoundPropsPlugin; TweenPlugin.activate([RoundPropsPlugin]); //activation is permanent in the SWF, so this line only needs to be run once. TweenMax.to(mc, 2, {x:300, y:200, alpha:0.5, roundProps:"x,y"});
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.