Hi Greensock
1. Why is 2 movieclips both rotated from -90 to 190 going cw using TweenMax.to and ccw using TweenMax.from?
2. Is there a way to make .from go CW in this example?
note: both going cw when var rotateTo <=180 in example below
//HippieSvin
import com.greensock.easing.*;
import com.greensock.plugins.*;
import com.greensock.TweenMax;
var rotateTo:Number = 190;
var rotateFrom:Number = -90;
// CCW
// RED : TM animating FROM -90 to 190
var c1:MovieClip = new MovieClip();
this.addChild(c1);
c1.x = 275;
c1.y = 200;
c1.rotation=rotateTo;
var red:MovieClip = new boxRed();
c1.addChild(red);
red.x=-50;
TweenMax.from(c1, 3, { delay:1.0, rotation:rotateFrom, ease:Quad.easeInOut });
// CW
// GREEN : TM animating TO 190 from -90 : this goes CW
var c2:MovieClip = new MovieClip();
this.addChild(c2);
c2.x = 275;
c2.y = 200;
c2.rotation=rotateFrom;
var green:MovieClip = new boxGreen();
c2.addChild(green);
green.x=-50;
TweenMax.to(c2, 3, { delay:1.0, rotation:rotateTo, ease:Quad.easeInOut });