salve ho questo codice as3 ...

Codice PHP:
import com.google.maps.Map;
import com.google.maps.MapEvent;
import com.google.maps.LatLng;
import com.google.maps.MapType;

var 
map:Map = new Map();
map.key "ABQIAAAA7QUChpcnvnmXxsjC7s1fCxQGj0PqsCtxKvarsoS-iqLdqZSKfxTd7Xf-2rEc_PC9o8IsJde80Wnj4g";
map.setSize(new Point(stage.stageWidthstage.stageHeight));
map.addEventListener(MapEvent.MAP_READYonMapReady);
this.addChild(map);

function 
onMapReady(event:Event):void {
  
map.setCenter(new LatLng(40.8022,14.1755), 16MapType.NORMAL_MAP_TYPE);

c'è la possibilità secondo voi di convertirlo in as2?

grazie mille