Jump to content
GreenSock

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

Wheel Spin

Recommended Posts

Hello,

 

I need wheel spinning like below video.

 

 

 

could you please guide me

 

 

/Ganapathi

 

Link to post
Share on other sites

Hi and welcome to the GreenSock forums,

 

It would really help to see a little demo of what you have already so that we can better help you understand how to implement GSAP.

If you need an object to spin, it can be done with one line of code like:

TweenLite.to("img", 20, {rotation:810, ease:Power3.easeInOut});

http://codepen.io/anon/pen/JbKqBQ?editors=1010

 

We can do a better job of helping if you provide some details about how exactly you need the wheel to operate.

We are happy to help you understand how to use GSAP, but just keep in mind that we can't help with every aspect of your project.

Link to post
Share on other sites

Sorry, I didn't realize you posted in the Flash forum.

The code for a spin would be nearly identlical, you would just use a MovieClip as the target like

TweenLite.to(myMovieClip, 20, {rotation:810, ease:Power3.easeInOut});

Unfortunately, we offer very limited support for Flash as we haven't updated the tools in many years and all of our focus in on HTML5 / JavaScript

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×