|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 |
<action name="demo"> set(autorotate.enabled,true); oninterrupt( action(interruptdemo) ); wait(20); loadpano(nextpano.xml,null,MERGE,BLEND(1)); </action> <action name="interruptdemo"> set(autorotate.enabled,false); </action> |
Hi,
yes, you could use the wait() action for this case,
e.g.
![]()
Quellcode
1 2 3 4 5 6 7 8 9 10 <action name="demo"> set(autorotate.enabled,true); oninterrupt( action(interruptdemo) ); wait(20); loadpano(nextpano.xml,null,MERGE,BLEND(1)); </action> <action name="interruptdemo"> set(autorotate.enabled,false); </action>
I have the same question, any idea ?
Hi,
yes, you could use the wait() action for this case,
e.g.
![]()
Quellcode
1 2 3 4 5 6 7 8 9 10 <action name="demo"> set(autorotate.enabled,true); oninterrupt( action(interruptdemo) ); wait(20); loadpano(nextpano.xml,null,MERGE,BLEND(1)); </action> <action name="interruptdemo"> set(autorotate.enabled,false); </action>
I used this example, but on termination of a return cycle to the first panorama does not occur. What it is necessary to add in code XML that a demo the mode did not stop, and came back to the first panorama and continued to work, till the moment of a stop the button?