Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  JavaScript    I need help working with a scrub bar for my animation.

Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
I am updating an old project and in it they used the following in their javascript to create a scrubber bar showing the position in the animation.

animTime = vmp.GetProperty('MTSTimeElem.animation_all', 'time' ,'mts_real');

When I try and run the code now It doesn't work because if this line. I know that because if I comment it out the thing runs but the scrubber bar doesn't work.
Any help would be appreciated.
Also where can I find some good documentation for enliven, and VETscripting?
 
Posts: 16 | Registered: March 20, 2008Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of lauramb
Posted Hide Post
Hi cdman52!

The VETScript reference can be found in the attachment. Beyond what's in that document, it's all ECMAscript. Checkout the Javascript Forum, or do a search for Vetscript or javascript and you can find some pretty cool stuff!

Sorry about the delay in answering, everyone is off doing something important, I'm just keeping an eye on the house. Wink

vmp_win_330_ relnotes.pdf

This message has been edited. Last edited by: lauramb,
 
Posts: 131 | Location: Las Vegas, NV, USA | Registered: May 14, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  JavaScript    I need help working with a scrub bar for my animation.