 |
| Step 1. |
| Following on from the tutorial to add a movieclip using as3, we will now write the code to make the MC (movieclip) move when the arrow keys are pressed. |
| |
|
|
Line 1 - 4
Line 5
|
| |
| Step 3. |
| |
|
|
Line 12
Line 13
Line 14 - 16
Line 17 - 25
|
| |
| Step 5. |
| |
|
|
Line 52
Line 53 - 58
Line 60 - 68
|
| |
| Step 6. |
| |
|
|
Line 68 - 68
Line 69
|
| |
|
|
|
|
|
 |