Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
riester

transformMatrix ERROR #1069

Recommended Posts

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

Thanks a lot.

This was definitely a beginners mistake.

max

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×