gavin sim logo
 

Week 1

Week 2

Week 3

Week 4

Week 5

Week 6

Week 7

Week 8

Week 9

Teaching > ActionScript

Arrays

Quick Example

This example shows an example of an array storing fruit and then dynamically attaching one to the stage depending on the number you select.

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player

 

Excercise

Using the code from this, se if you can add two additional fruits to the array and dynamically attached them to the stage.

Note: Once the movieclips are created you will have to click the export for actionscript options.