just a note to code above Niger5 is an ArrayCollection pulling data from an 
xml page with lat longs for each block. lol and its the country Niger of 
scale 500 000.


I changed my event-handler to

gridBlock.addEventListener(MapMouseEvent.CLICK, function(e:Event):void 
{
var clickedBlock = e.currentTarget as Polygon
check1.text = clickedBlock;
});

But I only get a " [object Polygon ]" for all blocks. Surely each of them 
must have an instance name or some unique identifier that can be called.

-- 
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/-/WQqYK7gwzSkJ.
To post to this group, send email to google-maps-api-for-flash@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-api-for-flash+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en.

Reply via email to