Share Posted January 8, 2017 I have imported a png into my Adobe Animate project and converted to symbol. I'd like animate the resize of it, but it doesn't work (I tried width and height). Other things like rotation and move work. Link to comment Share on other sites More sharing options...
Author Share Posted January 9, 2017 It works with scaleX and scaleY. 1 Link to comment Share on other sites More sharing options...
Share Posted January 9, 2017 Cool, happy to hear you worked it out. Link to comment Share on other sites More sharing options...
Share Posted January 9, 2017 Welcome to the Forums, Just so you know the reason it didn't work is because everything you create in Animate is ultimately rendered to canvas using the open-source EaselJS library. http://www.createjs.com/easeljs EaselJS provides a quite convenient API which allows you to use code to manipulate / control these objects. When you integrate GSAP into Animate projects you end up tweening properties of EaselJS objects. However, EaselJS DisplayObjects do not have width and height properties which is why you can not animate them with GSAP. http://www.createjs.com/docs/easeljs/classes/DisplayObject.html And yes, this can be frustrating, but it is explained here: http://blog.createjs.com/width-height-in-easeljs/ and an update here: http://blog.createjs.com/update-width-height-in-easeljs/ 1 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