Share Posted July 4, 2011 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: ReferenceError: Error #1069: Property transformMatrix for Circle not found and there is no standard value. 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}); Link to comment Share on other sites More sharing options...
Share Posted July 4, 2011 Sounds like you just forgot to activate the TransformMatrixPlugin. See http://www.greensock.com/get-started-tweening/#plugins for details. import com.greensock.plugins.*; TweenPlugin.activate([TransformMatrixPlugin]); Happy tweening Link to comment Share on other sites More sharing options...
Author Share Posted July 5, 2011 Thanks a lot. This was definitely a beginners mistake. max Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now