Torben Posted December 13, 2012 Share Posted December 13, 2012 I'm trying to use the TransformAroundPoint on a Starling Sprite but it fails. I'm not sure what exactly TransformAroundPoint does internally, but I guess it uses some properties that are not there on a Starling Sprite ? The error is: TransformAroundPointPlugin/onInitTween()[D:\_Flash\_AS3\src\com\greensock\plugins\TransformAroundPointPlugin.as:71] Link to comment Share on other sites More sharing options...
GreenSock Posted December 16, 2012 Share Posted December 16, 2012 That's correct - the TransformAroundPointPlugin relies on certain DisplayObject methods like localToGlobal() and globalToLocal() but it looks like those exist in Starling as well. It should be relatively simple to crack open the plugin file and swap out flash.display.DisplayObject for starling.display.DisplayObject. Does that work for you? Link to comment Share on other sites More sharing options...
Torben Posted December 17, 2012 Author Share Posted December 17, 2012 Thanks - I'll do that. 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