>> Had to do alot of finagling to make sure all of the objects within it were >> not mouseenabled
FYI - just wanted to mention - don't forget about mouseChildren - it's the quickest way to enable/disable events for all children within a container. Dave Mennenoh Flash Developer GMR Marketing office 262.780.8858 [email protected] GMR Marketing 5000 S. Towne Dr., New Berlin, WI 53151 gmrmarketing.com -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of midimid Sent: Friday, November 12, 2010 8:22 AM To: Google Maps API For Flash Subject: [Google Maps API For Flash] Re: Fade in/out customContent Infowindow I did need to attach this to the map actually and that's almost precisely what I ended up doing. Since marker icons can be displayobjects, I actually placed all of my infowindow needs (100% custom) into a class that's within the icon's movieclip. You can then access that custom class via marker.getOptions().icon. Had to do alot of finagling to make sure all of the objects within it were not mouseenabled and are behind the marker's icon when the infowindow is not open, but it works! On Nov 11, 11:02 pm, mic <[email protected]> wrote: > The simplest way to handle this sort of thing is to use > fromLatLngToViewport to convert the latlng to screen coordinates and > then just position and animate your custom displayobject in there. > This way the display object isn't added directly to the map.. > > If you need to add it to the map, to automatically get it positioned > correctly when the map moves etc. the best way is to use another > marker with a custom icon, which will be your display object. > > http://code.google.com/apis/maps/documentation/flash/reference.html#M... > > Hope that helps! > > Michael > > On Nov 12, 2:28 am, midimid <[email protected]> wrote: > > > > > > > > > Crap - so what I'm realizing is that only a single infowindow can > > exist at once. Thus, can't fadein one and fadeout another. It seems > > that in order to do this I have to start doing some much further > > removed customizing. > > > So what would be the best way to just attach a Movieclip to a specific > > lng/lat on the map so that it behaves in the same way as a marker or > > infowindow? -- 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. Notice: This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this e-mail or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this e-mail in error, please immediately notify us by calling the Help Desk at (800) 696-0015. -- 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.
