Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
lgeis

import com.greensock.plugins.TransformAroundCenterPlugin

Recommended Posts

Greetings from Boise!

 

//Import

import flash.utils.getDefinitionByName;

import com.greensock.TweenLite;

import com.greensock.plugins.TweenPlugin;

import com.greensock.plugins.TransformAroundCenterPlugin;

 

TweenPlugin.activate([TransformAroundCenterPlugin]);

 

Throws:

 

F:\working process flash\greensock\AS3\com\greensock\plugins\TransformAroundPointPlugin.as, Line 108 1067: Implicit coercion of a value of type flash.geom:Matrix to an unrelated type Matrix.

 

F:\working process flash\greensock\AS3\com\greensock\plugins\TransformAroundPointPlugin.as, Line 137 1067: Implicit coercion of a value of type Matrix to an unrelated type flash.geom:Matrix.

 

F:\working process flash\greensock\AS3\com\greensock\plugins\TransformAroundPointPlugin.as, Line 140 1067: Implicit coercion of a value of type Matrix to an unrelated type flash.geom:Matrix.

 

Thanks in advance!

Leo

Link to post
Share on other sites

It sounds like you've got something funky going on in your file - can you please post a very simple FLA that demonstrates the problem so that we can publish and see the error(s) for ourselves? I tested your code and it worked flawlessly. You're not trying to use Starling or something, are you?

Link to post
Share on other sites

Ha! OK, I uncovered the problem.

 

Evidently Jack has snookied into my office and named a Movie Clip in my Library "Matrix" with linkage "Matrix" as well. I don't know why someone would do such a thing, and I'm sure there's some sort of law against it. Probably some sort of naming convention violation.

 

It couldn't possibly by my own stoopidity.

 

All fixed! Thanks!

Link to post
Share on other sites

Ha ha. Glad you figured it out. Yeah, I must have accidentally messed with your file remotely and screwed up your project. My bad.

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×