Introduction to Flash and Actionscript

S7 - Using Arrays

 

 

Tutorial 1 - Using Arrays to make things Easier

Assignment 1

In your pacman project duplicate your pacman level and delete all the dots

Create the dots using an array and multiple loops, onefor each row/column

Now remove the hittest if's and hittest using a function with loop