package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var row1:Array = [6, 2.99]; // Quantity 6, Price 2.99
var row2:Array = [4, 9.99]; // Quantity 4, Price 9.99
var row3:Array = [1, 59.99]; // Quantity 1, Price 59.99
var spreadsheet:Array = [row1, row2, row3];
for (var i:int = 0; i < spreadsheet.length; i++) {
trace(spreadsheet[i][0]);
}
}
}
}
|