package{
import flash.display.Sprite;
publicclass Main extends Sprite{
public function Main(){
var info:Object = new Object( );
info["city"] = "Toronto";
info["country"] = "Canada";
var detail:String = "city";
trace(info[detail]); // Displays: Toronto
}
}
}