Hello,
although I am new to TweenMax I am feeling quite comfortable with it - except:
I am applying a transformMatrix on a custom class movieclip (circleCountry) that throws the error:
The class hierachy is:
Country extends Movieclip
Circle extends Country
circleCountry is an instance of Circle
Confusing for me is that applying the dropShadowFilter on circleCountry works ( see last line).
Why not the transformMatrix ?
Did I miss some OOP issue?
I am thankful for any help.
Max
import com.greensock.TweenMax;
import com.greensock.easing.*;
import com.greensock.TweenLite;
import com.greensock.plugins.*;
var circleCountry:Circle = new Circle(133, 0, 0, "Kreis", 0, 0);
circleCountry.name = "Circle";
circleCountry.x = -200;
addChild(circleCountry);
TweenMax.to(circleCountry, 4, {delay:1, x:745, y:517, transformMatrix:{rotation:360}, alpha:2.5, ease:Circ.easeOut});
TweenMax.to(circleCountry, 4, {dropShadowFilter:{color:0x003333, alpha:1, blurX:12, blurY:12, strength:0.5, angle:140, distance:12}, ease:Circ.easeOut});