Viewpoint Forums
Viewpoint Forums
JavaScript
.js Rewind function in a frame set|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Ref: VPd-ds' Control Animation,
http://cole.viewpoint.com/~ddavies/controlanim/index.html I'm attempting to use the html/js animation buttons from VPd-ds' Control Animation page in a frame set, attachment 1. All of the buttons work but the "REWIND". When I click it a .js error is generated, attachment 2. HTML: Rewind function: html/js function <form> <p>Poser Animation Sets Group</p> <input name="PoserAnimSetsGroup" type=button value="Rewind" onclick="JavaScript <input name="Cas_Wlk" type=buttonvalue="Cas_Wlk" onclick="JavaScript <input name="C_W-wlkbk" type=button value="C_W-wlkbk" onclick="JavaScript <input name="C_W-LtTrn1" type=button value="C_W-LtTrn1" onclick="JavaScript This is the XML text that, I think, is controlled by the rewind .mtx XML text excerpt : </MTSInstance> <MTSTimeElem Name="PoserAnimSetsGroup" On="1"> <MTSTimeElem Name="Cas_Wlk" On="0"> <MTSTimeElem Type="Keyframe" On="1"> <Target Name="MTSInstance.upNeck_1_tran" Property="loc_" Timeline="upNeck_1_Cas_Wlk_loc_0"/> <Target Name="MTSInstance.upNeck_1_tran" Property="rot_" Timeline="upNeck_1_Cas_Wlk_rot_0"/> <Target Name="MTSInstance.upNeck_1_tran" Property="scl_" Timeline="upNeck_1_Cas_Wlk_scl_0"/> <Target Name="MTSInstance.head_1_tran" Property="loc_" Timeline="head_1_Cas_Wlk_loc_9"/> <Target Name="MTSInstance.head_1_tran" Property="rot_" Timeline="head_1_Cas_Wlk_rot_9"/> vpdd_frms.jpg (94 KB, 76 downloads) html view |
||
|
|
Member |
Attachment 2 for the previous post. (The edit button never came up
jserror.jpg (17 KB, 39 downloads) jserror |
|||
|
|
Member |
You're getting a "vmp is undefined" error. Make sure you're placing the path to MTS3Interface.js and the vmp variable declaration (var vmp) in the same html as the frame that you're placing the vmp constructor line in.
|
|||
|
|
Member |
Hi, Admin!
Thanks for the response! I verified that they are both on the same page, but I still get the errors. They occur in XMLSpy and Homesite. However, they don't occur in the IE, I haven't tried Firefox. For the moment, that's ok. I've been really concentrating on coordinating the animations. When it is necessary to do a rewind to test the messages are just a little annoying. |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
JavaScript
.js Rewind function in a frame set
