I've been working on an application for the past few days and have hit a 
road block.  I'm trying to load a kml file into my flash application using 
AS3 and I keep getting the error message "1180 Call to possibly undefined 
method GGeoXml".  I've spent the past two days trying to find out how to 
resolve this issue without any luck.  If anyne has a suggestion as to what I 
should try I would greatly appreciate it.  I've posted the code so hopefully 
yu can see where I'm going wrong.  THank you in advance for any help.

Andy


stop();
import com.google.maps.*;
import com.google.maps.overlays.*;
import com.google.maps.controls.*;
import flash.events.Event;
import com.google.maps.overlays.Polyline;
import com.google.maps.overlays.PolylineOptions;
import com.google.maps.styles.StrokeStyle;
import com.google.maps.services.*;

var map:Map = new Map();
map.key = 
"ABQIAAAAj3XIWFdGa7SwSJKAuSpC_RQoj4kzpnDcECMbUOjHIyeQTCdjORSuEybifVm4hZfdc4X6ukwhesYRBg";
map.sensor = "true";
map.url = "http://mcneilinteractive.com"; 
map.setSize(new Point(stage.stageWidth, stage.stageHeight));
map.addEventListener(MapEvent.MAP_READY, onMapReady);
this.addChild(map);



function onMapReady(e:Event):void{
    map.addControl(new ZoomControl());
    map.addControl(new MapTypeControl());
    map.setCenter(new LatLng(29.967734,-90.050503), 15, 
MapType.NORMAL_MAP_TYPE);
   * 
var vieux_route = new 
GGeoXml("http://mcneilimaging.com/mardi_gras/maps/parades/vieux.kml";);
    map.addOverlay(vieux_route);*
 
      var m:Marker = new Marker(new LatLng(29.967734,-90.050503),
                              new MarkerOptions({icon:new 
parade_start_vieux()}));
    map.addOverlay(m);
}

 


map.y=-52;
map.x=-58;
map.width=480;
map.height=534;

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-api-for-flash/-/oxK0bdcokqkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en.

Reply via email to