for each (variableOrElementValue in someObject) { statements}package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var info:Object = new Object( ); info.city = "Toronto"; info.country = "Canada"; for each (var detail:* in info) { trace(detail); } } }}
Name (required)
email (will not be published) (required)
Website