Kinda solved the problem .. but not in the best way with:

private function positionInfoWindow():void
                {
                        var icon:DisplayObject = monkeyMarker.getOptions().icon;

                        var a:Point = icon.localToGlobal(new Point());
                        var b:Point = new Point(Math.round(a.x), 
Math.round(a.y));

                        infoWindow.x = b.x;
                        infoWindow.y = b.y;
                }



                private function onEnter(event:Event):void
                {
                        try {
                                positionInfoWindow();
                        }
                        catch(error:Error) {
                        }
                }


There should be a better way ?


Best,
paul
--~--~---------~--~----~------------~-------~--~----~
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