Viewpoint Forums
Viewpoint Forums
General Topics
About switch to different animations|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Hi Admin,
I created a vet scene with morph animations to illustrate how heart valves work. (most codes for animations are same, except the time setting) link: http://www.gtnconcept.com/mms9402/kai/04_HeartValves/test.html =============================== question 1: in my codes, I set MTSTimeElem as <MTSTimeElem Type="Keyframe" Name="time1" On="0" Clamp="0" > Normally, i will get a button with the name of 'time1' when I use this method. But this time, I found there are 2 buttons which are 'start time1' and 'stop time1' are created by publisher. ===================================== question 2 I set 2 animations of the heartvalves which are normal speed and 2X slow speed. If you click the buttons from left to right, all functions are work right. If I click the 'start time1', then click the 'start time2', the speed will slowdown as desired. But, if I want to switch back to normal speed and click the button of 'start time1', it doesn't work. I found if I want to switch to different speed mode, I have to click a button to stop current animation. How can I switch different speed (e.g I set 4 different speed) ===================================== question 3 If I have created 4 speed animation whith the name of time1, time2, time3 and time4. I want to create 4 buttons in Flash GUI which alowing users switch to different speed mode. (I don't want to set 4 stop buttons). What should I do to fix my actionscript coding in Flash? fscommand("MTSAssignProperty", "Target=MTSTimeElem.time1::trgr;Value=1"); Many many thanks, my friend |
||
|
|
Member |
|
|||
|
|
Member |
both start time buttons need to not only start their own animations but stop the other animation. In other words, "start_time1" needs to not only trigger it's own beating animation but make sure the other beating animation is stopped first.
You can do this using vmp.PostEvent. More info on vmp.PostEvent can be found on page 161-162 of the Viewpoint Rich Media Authoring Guide. Regards |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
General Topics
About switch to different animations
