Hi Andrew,

I am still getting to grips with AS3 and the maps API so my lack of
terms is not up to your speed.
The new marker is an mc in the library with linkage identifier set to
budIco
I add this to the map like so
//
//Create marker and add it to the map
function createMarker(latlng:LatLng, name:String, address:String,
comments:String, count:Number, submitted:String):Marker {
        var marker:Marker = new Marker(latlng, new MarkerOptions({icon: new
budIco(), iconOffset: new Point(-16, -32)}));
....

Then i add the listener

//
marker.addEventListener(MapMouseEvent.ROLL_OVER,
function(e):void{
        trace("marker over:"+e.currentTarget)
});
return marker;

any help very much appreciated


--~--~---------~--~----~------------~-------~--~----~
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