package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var aEmployees:Array = new Array(); aEmployees.push({employee:"A", phone:"555-1234"}); aEmployees.push({employee:"P", phone:"555-4321"}); aEmployees.push({employee:"C", phone:"555-5678"}); aEmployees.push({employee:"H", phone:"555-8765"}); for(var i:Number = 0; i < aEmployees.length; i++) { trace("Employee:" + aEmployees[i].employee); trace("Phone Number:" + aEmployees[i].phone); } } }}Employee:APhone Number:555-1234Employee:PPhone Number:555-4321Employee:CPhone Number:555-5678Employee:HPhone Number:555-8765
Name (required)
email (will not be published) (required)
Website