mrkos67 Posted March 4, 2014 Share Posted March 4, 2014 Is goto() deprecated for TimelineLite and TimelineMax? It's still in the API docs (http://www.greensock.com/as/docs/tween/com/greensock/TimelineLite.html), but doesn't come up in the code hints in the Flash IDE, as well as throwing an "possibly undefined method" compilation error. What's the workaround now? Link to comment Share on other sites More sharing options...
GreenSock Posted March 4, 2014 Share Posted March 4, 2014 It looks like you're viewing the old v11 docs from years back. And yes, that method has been deprecated in favor of seek() because the actual ECMAScript spec reserves the "goto" keyword, making it completely off-limits. Here are the new docs for v12: http://api.greensock.com/as/ Sorry about any confusion. We leave the old docs up for legacy stuff (although we'll probably remove them within the next 6-12 months). Happy tweening! Link to comment Share on other sites More sharing options...
mrkos67 Posted March 4, 2014 Author Share Posted March 4, 2014 roger that. i'll update my bookmark with the new api docs. 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