I got it!!!

Thank you so much
//
txComms.addEventListener(TextEvent.LINK, linkHandler);
function linkHandler(linkEvent:TextEvent):void {
        var linkID:Number=Number(linkEvent.text);
        MovieClip(parent).viewPop(linkID)
}
//
function viewPop(id:Number){
        for (var i:int=0; i<markersArray.length; i++) {
                if (i==id) {
                        var marker:Marker =markersArray[i]
                        marker.dispatchEvent(new 
MapMouseEvent(MapMouseEvent.CLICK, marker,
marker.getLatLng(), true, false));
                }
        }
}
--~--~---------~--~----~------------~-------~--~----~
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