Jump to content
GreenSock

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

transformAroundCenter Help [SOLVED]

Recommended Posts

Hi I can't seem to get transformAroundCenter to fire. I have the TransformAroundCenterPlugin.as in the plug ins folder and I think I'm importing everything but it just wont go. :(

 

import com.greensock.*;

import com.greensock.easing.*;

 

TweenLite.to(mc, 1, {transformAroundCenter:{scaleX:0.1, scaleY:0.1}, ease:Elastic.easeOut});

 

Any ideas?

 

-Delta

Link to comment
Share on other sites

I bet you forgot to activate the plugin.

 

import com.greensock.plugins.*;
TweenPlugin.activate([TransformAroundCenterPlugin]);

 

(you only need to do that once in your swf)

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.
×