Hi pamela,

Thank for answer me. I did it that you said but doesn't work :(.

I made a video of my problem if could be necessary:

http://www.youtube.com/watch?v=o8_Or-McGas

Can it be that the googlemap API version is not the correct?. I am
using map_flex_1_6.swc.

Thank you again Pamela.

On Oct 15, 8:07 pm, "pamela (Google Employee)" <[EMAIL PROTECTED]>
wrote:
> Hi FarKore-
>
> Try:
> - Giving the HBox a width/height
> - Adding the line "cacheAsBitmap = true;"
>
> Report back if something worked.
>
> - pamela
>
> On Thu, Oct 16, 2008 at 6:07 AM, FarKorE <[EMAIL PROTECTED]> wrote:
>
> > Hi to everybody!.
>
> > I need to know how to do a custom info window with a form inside. I
> > have seen the follow example:
>
> >http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/TabNavigato...
>
> > ..but just appear a blank InfoWindow without the TextInput and "OK"
> > Button.
>
> > Here is my code:
>
> > /*----------------------------------------------------------------*/
> > var latLng:LatLng = evento.latLng;
> > var marker:Marker = new Marker(latLng);
> > var options:InfoWindowOptions = new InfoWindowOptions({customContent:
> > new TestClass(),
> >                                                        customOffset: new 
> > Point(0, 10),
> >                                                        drawDefaultFrame: 
> > true,
> >                                                        width: 300,
> >                                                        height: 160});
> > marker.addEventListener(MapMouseEvent.CLICK,
> > function(e:MapMouseEvent):void {
> >        marker.openInfoWindow(options);
> > });
> > mapaBusqueda.googleMap.addOverlay(marker);
>
> > /*----------------------------------------------------------------*/
>
> > And my custom content (TestClass) is:
>
> > public class TestClass extends UIComponent{
> >        public function TestClass(){
> >                var hbox:HBox = new HBox();
> >                var button:Button = new Button();
> >                button.label = "OK";
> >                hbox.addChild(new TextInput());
> >                hbox.addChild(button);
> >                addChild(hbox);
> >        }
> > }
>
> > Thank you for your time!
--~--~---------~--~----~------------~-------~--~----~
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