onframe(41) { i=0 } onframe(42) { i=i+1 } onframe(43) { if (i<100) { gotoSceneAndPlay("<current scene>",42); } }