manproof
New member
This has already been posted in the Director forum, but I haven't heard anything, so...
I have a 3D cast member that contains a bunch of animations defined by start and end points. For example, from 200 to 5000 milliseconds is a rotation animation, and between 5001 and 6000 is a translation animation. I need to know when each of these animations have finished. I used animationEnded initially, but I am not sure how to set animationEnded to fire after a defined span of animation has terminated.
Do I need to write a custom event to capture this? If so, how do you define an event? I am looking at using registerForEvent, I just don’t know how to write the event itself.
Any help is appreciated.
I have a 3D cast member that contains a bunch of animations defined by start and end points. For example, from 200 to 5000 milliseconds is a rotation animation, and between 5001 and 6000 is a translation animation. I need to know when each of these animations have finished. I used animationEnded initially, but I am not sure how to set animationEnded to fire after a defined span of animation has terminated.
Do I need to write a custom event to capture this? If so, how do you define an event? I am looking at using registerForEvent, I just don’t know how to write the event itself.
Any help is appreciated.