Creo que serĂ­a una buena idea separar las funciones y los marcadores:

try this:

markers= new Array();
marker=  New Marker(.........) ///add your options
marker.addEventListener(MapMouseEvent.CLICK, doSomthing);
marker.push(marker);
function doSomthing(event:MapMouseEvent){

marker= event.target as Marker; 

marker.openInfoWindow(new InfoWindowOptions({content: "QUE QUIERES QUE 
HAGA"});

}



 
 

-- 
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/-/jFV7g5fGyEkJ.
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