Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- onClipEvent (enterFrame) {
- if (this.hitTest(_root.ball1)) {
- if (Key.isDown(Key.RIGHT)) {
- _root.ball1._x -= 40;
- } else if (Key.isDown(Key.LEFT)) {
- _root.ball1._x += 40;
- } else if (Key.isDown(Key.UP)) {
- _root.ball1._y += 40;
- } else if (Key.isDown(Key.DOWN)) {
- _root.ball1._y -= 40;
- }
- }
- }
- onClipEvent (enterFrame) {
- if (_root.key2 == false){
- unloadMovie(this);
- }
- }
Add Comment
Please, Sign In to add comment