Jump to content
Search Community

Simulate a drag

justcasper test
Moderator Tag

Go to solution Solved by ZachSaucier,

Recommended Posts

  • Solution
47 minutes ago, justcasper said:

i have to avoid "TweenLite..." ?

We recommend doing so. Why would you want to keep it? The new syntax is better :) There are other updates as well that you can read about in the linked articles.

 

47 minutes ago, justcasper said:

Your changed code still does not call the onDrag otherwise the "salmon" text would stick to the right. :( 

If you want the onDrag function to be called as well you should call it separately: https://jsfiddle.net/mt6eukdz/

  • Like 1
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...