Hi Tom-

What is the mEvent class? You should be able to do the following:

marker.dispatchEvent(new Event("bla");

marker.addEventListener("bla", function(e:Event):void {
  trace("bla");
});

- pamela

On Thu, Oct 16, 2008 at 2:13 PM, tomcattyy <[EMAIL PROTECTED]> wrote:
>
> Hi all, I am trying to send a event out when mouse over a marker with
> code like
>
> var evt:mEvent = new mEvent(mEvent.Start,data,bubble=true);
>
> marker.addEventListener(mapMouseEvent.RollOver,
> function(e:mapMouseEvent):void{
> dispatchEvent(evt)});
>
> I have no problem to add event listener for open infowindow, but
> seemed cannot dispatch an event
> out. Can marker allow to dispatch a custom event? Thanks
> >
>

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