Hi guys, I'm trying some things here, and I got this:
tempTimeline.eventCallback( "onUpdate" , updateTimelineTween );
But my timeline is not a global var, just exist on a function. I put the "updateTimelineTween" function to receive one timeline as parameter.
Now how can I pass the tempTimeline as parameter? I try use this but obvious didn't work because it execute the method...
tempTimeline.eventCallback( "onUpdate" , updateTimelineTween(tempTimeline) );
Any idea about how to do it? Tnx a lot guys! EDIT: Sorry guys, I found it:
tempTimeline.eventCallback( "onUpdate" , updateTimelineTween , [params] );
Someone please can delete the topic (or not if its fine to help another one with the same doubt)