Media Summary: Very smooth immediate action. Move a ball around the stage A ball (any symbol) is held on a platform (any symbol) by gravity. Here's the code- onClipEvent(enterFrame) { if(Key.isDown(Key.UP)) { this._y -=5; } if(Key.isDown(Key.DOWN)) { this._y +=5 ...
Flash Cs5 Tutorial 21 Using The Arrow Keys Avi - Detailed Analysis & Overview
Very smooth immediate action. Move a ball around the stage A ball (any symbol) is held on a platform (any symbol) by gravity. Here's the code- onClipEvent(enterFrame) { if(Key.isDown(Key.UP)) { this._y -=5; } if(Key.isDown(Key.DOWN)) { this._y +=5 ... Make a basic hit game. Targets will move about the stage. You control the movement of a square Here are the Action Scripts needed to complete this In this video, I show you how to add a classic motion
heres the actionscript(AS 2): onClipEvent(load){ speed=50; } onClipEvent(enterFrame){ if(Key.isDown(Key.RIGHT)){ _x+=speed ... Hey guys I have decided to upload this video today instead of a Sony Vegas