Hi Paul,

Try:

//Add listener to textfield to check for link clicks
txComms.addEventListener(TextEvent.LINK, linkHandler);
function linkHandler(linkEvent:TextEvent):void {
       //Get the correct marker - not sure how you plan to do this.
somehting on the TextEvent must indicate which marker in the marker
array
    var marker:Marker = null;
    marker.dispatchEvent(new MapMouseEvent(MapMouseEvent.CLICK,
marker,
           marker.getLatLng(), true, false));
}

You'll have to add the code to retrieve the correct marker. I can't
really do that without knowing more about the context/

-Arothian

On May 19, 9:20 am, "[Paul Ferrie]" <[email protected]> wrote:
> Yes i want to open a marker from elsewhere in my movie and yeah this
> would be pretty straight forward for someone fluent in AS3 but i am
> not.
>
> My markers are added to the stage and also to an array i assume i
> could scan the array index for id that corresponds to and id passed
> from the linkHandler.
> This is where i am stuck.  I can get the matching Id but i don know
> how to fire the event to open the marker.
--~--~---------~--~----~------------~-------~--~----~
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