Hi Klaus and folks,
I'm almost finishing what was for me the biggest challenge in krpano.
On a object movie scene, i'm inserting some buttons that call standard movie files.
The point is that I need to load the videos just when the frame 7 is active.
So, the code should be something similar to:
When frames are 8 to 15, moveleft to frame 7
when frames are 1 to 6, moveright to frame 7
This is my normal rotate action:
|
Source code
|
1
2
|
<action name="rotateleft"> dec(image.frame,1,1,1); delayedcall(0.03, if(rotateing,rotateleft()) ); </action>
<action name="rotateright"> inc(image.frame,1,get(image.frames),15); delayedcall(0.03, if(rotateing,rotateright()) ); </action>
|
Hope to have your help soon :)
Thanks,
Daniel