Jump to content
Search Community

Using Tweenlite/Max as a way of zooming whole swf?

swiftmend test
Moderator Tag

Recommended Posts

Is there anyway to target everything using TweenMax/Lite as a method of scaling objects?

 

I'm building a Game, and would like the ability to zoom in/out of maps, I'm wondering if TweenLite is an efficient way of doing this? I'm pretty sure you can't make a "camera" in flash, so the only way of doing it is scaling everything?

Link to comment
Share on other sites

Sure, TweenLite can scale pretty much anything. You might want to look into joining Club GreenSock so you can get the TransformAroundPointPlugin because it would allow you to very easily zoom into any particular point (act as though the DisplayObject has a custom registration point around which scaling/rotation occurs). There's an example in the Plugin Explorer.

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.
×
×
  • Create New...