package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var cars:Array = new Array(); cars.push({make: "H", year: 1997, color: "maroon"}); cars.push({make: "Chrysler", year: 2000, color: "beige"}); cars.push({make: "Mercedes", year: 1985, color: "blue"}); cars.push({make: "Fiat", year: 1983, color: "gray"}); for (var i:int = 0; i < cars.length; i++) { trace("A " + cars[i].color + " " + cars[i].year + " " + cars[i].make); } } }}A maroon 1997 HA beige 2000 ChryslerA blue 1985 MercedesA gray 1983 Fiat
Name (required)
email (will not be published) (required)
Website