Hi,
I have got a simple problem. I`m searching and do not find the answer![]()
How to animate a hotspot? I have got a png file (20 images in vertical).
I will be grateful for any link which helps me to find the answer or to any tutorial for very beginners.
Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
<action name="hotspot_animate"> inc(frame,1,get(frames),0); mul(ypos,frame,frameheight); txtadd(crop,'0|',get(ypos),'|',get(framewidth),'|',get(frameheight)); delayedcall(0.03, hotspot_animate() ); <!-- here you set the speed of the frame change --> </action> <style name="skin_hotspotstyle" url="hotspot.png" crop="0|0|64|64" frames="20" framewidth="64" frameheight="64" frame="0" onloaded="hotspot_animate();" altonloaded="if(isphone, mul(scale,2)); onloaded();" scale="1" edge="top" oy="0" onclick="loadscene(get(linkedscene),null,MERGE,BLEND(1)); " /> |
: https://pame.virtualtuur.comHi,
I have got a simple problem. I`m searching and do not find the answer![]()
How to animate a hotspot? I have got a png file (20 images in vertical).
I will be grateful for any link which helps me to find the answer or to any tutorial for very beginners.
Hi,
It's same task is was resolved! See this link:
http://www.imaginartejuegos.com/ijLAB/ej…spotanimado.htm
And this ready work example (vertical and horizontal type strip of images):
http://www.imaginartejuegos.com/ijLAB/ej…spotanimado.htm
Good luck!
![]()
How can I stop the animation playback