1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
oninterrupt(actions) 当锁定用户交互和其他动作的动作如 (like lookto, looktohotspot, moveto, zoomto, wait and tween) 执行被中断时,执行指定的动作。 参数: •actions ◦在中断时执行的动作. 样例: oninterrupt(break); lookto(150,30,70); wait(3); lookto(242,0,150); lookto(280,-10,50); wait(3); oninterrupt( trace(user interrupt); ); lookto(0,0,90); lookto(90,0,90); lookto(180,0,90); lookto(270,0,90); lookto(0,0,90); |