Jump to content
Search Community

onInit callback removed in v12

Philip Bulley test
Moderator Tag

Recommended Posts

I have a tween with a delay of x secs and I want to execute some custom code just before that tween begins. onStart is triggered too late, as that fires just after the tween has started. onInit used to be the solution pre v12, but sadly this seems to have been removed.

 

 

 

34. Removed onInit and onInitParams special properties (it’s doubtful many people used them anyway)

 

From http://www.greensock.com/v12/

 

How can I achieve the same thing with v12?

Thanks.

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...