|
.
----------------------------- comtrols 에 들어가는 스크립트 ----------------------------- onFrame (1,afterPlacedObjectEvents) { stop(); } onFrame (6,afterPlacedObjectEvents) { setLabel("image1"); tellTarget (_root.masked.things) { _X -=1130; _X *= 0.8; _X += 1130; } tellTarget (_root.masked1.things) { _X -= 1130; _X *= 0.6; _X += 1130; } } onFrame (7,afterPlacedObjectEvents) { prevFrameAndPlay(); } onFrame (11,afterPlacedObjectEvents) { setLabel("image2"); tellTarget (_root.masked.things) { _X -= 630; _X *= 0.8; _X += 630; } tellTarget (_root.masked1.things) { _X -= 630; _X *= 0.6; _X += 630; } } onFrame (12,afterPlacedObjectEvents) { prevFrameAndPlay(); } onFrame (16,afterPlacedObjectEvents) { setLabel("image3"); tellTarget (_root.masked.things) { _X -= 150; _X *= 0.8; _X += 150; } tellTarget (_root.masked1.things) { _X -= 150; _X *= 0.6; _X += 150; } } onFrame (17,afterPlacedObjectEvents) { prevFrameAndPlay(); } onFrame (21,afterPlacedObjectEvents) { setLabel("image4"); tellTarget (_root.masked.things) { _X -= -380; _X *= 0.8; _X += -380; } tellTarget (_root.masked1.things) { _X -= -380; _X *= 0.6; _X += -380; } } onFrame (22,afterPlacedObjectEvents) { prevFrameAndPlay(); }
'Swish study' 카테고리의 다른 글
달랑달랑 (0) | 2016.05.26 |
---|---|
물방울3 (0) | 2016.05.26 |
마우스에서 벌레가.. (0) | 2016.05.26 |
마우스를 따라다니는 글자 (0) | 2016.05.26 |
마우스를 따라다니는 물고기 (0) | 2016.05.26 |