While waiting for help, I tried a very simple example. If I comment
out "icon: loader,", the default marker can appear in both Test Movie
and the published movie. However, with "icon: loader," the little cute
penguin can only appear in Test Movie, but not in the published movie.
Can anybody tell me what is going on here?

=================
var map:Map = new Map();
map.key = "ABQIAAAA8T8fI3edd-0zoOSuQWhSzhRVKeUWy9IDPXd5GmtflkvA-Y-
vqxTA8-Y1B7H53ZBfcQazuXRtbcsgpg";
map.setSize(new Point(stage.stageWidth, stage.stageHeight));
map.addEventListener(MapEvent.MAP_READY, onMapReady);
this.addChild(map);

function onMapReady(event:Event):void {
        map.setCenter(new LatLng(37.441944, -122.181944), 14,
MapType.NORMAL_MAP_TYPE);
        map.removeMapType(MapType.PHYSICAL_MAP_TYPE);
        map.addControl(new ZoomControl());
        map.addControl(new PositionControl());
        map.addControl(new MapTypeControl());

        var  loader = new Loader();
        loader.load(new URLRequest("penguin.swf"));

        var markerA:Marker = new Marker(
                new LatLng(37.441944, -122.181944),
                new MarkerOptions({
                //      icon: loader,
                        hasShadow: true
                })
        );
        map.addOverlay(markerA);
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
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