Hey Panela

thats a great example. I was able to work with it and get it to do
what I wanted with custom movieclips.

I was just wondering if there was a way examples for doing the same
thing with the navigation controls (ie the arrows for moving the
viewport around) and for the map types.



On Jul 21, 12:31 am, "pamela (Google Employee)" <pamela...@gmail.com>
wrote:
> Yes, that does work too; there's one demo that shows that (VSlider). Glad
> you worked it out. :)
>
> On Tue, Jul 21, 2009 at 5:29 PM, Joshua Rhoades <rhoade...@gmail.com> wrote:
> > Thanks.
> > I started implementing a solution using this method, then decided I didn't
> > want to have to re-implement some of the Button class functionality using a
> > Sprite, and so I looked some more and went another route.  I put the map and
> > my buttons in a Panel with layout=absolute with no header and no border.  It
> > seems to work.
>
> > On Mon, Jul 20, 2009 at 7:03 PM, pamela fox <pamela....@gmail.com> wrote:
>
> >> Hi J-
> >> You can create a custom control. See the docs here:
>
> >>http://code.google.com/apis/maps/documentation/flash/controls.html#Cu...
>
> >> <http://code.google.com/apis/maps/documentation/flash/controls.html#Cu...>-
> >> pamela
>
> >> On Tue, Jul 21, 2009 at 1:35 AM, J. <rhoade...@gmail.com> wrote:
>
> >>> I'm new to Flash/Flex and the Google MAP API.
> >>> I want to add a Button on the map and I can't find any examples of how
> >>> to do this. Can this be done?  If so, how?
> >>> I do NOT want it at a certain LatLng (I've seen those examples).  I
> >>> want it in the upper left or preferably upper center.
>
> >>> This ActionScript code adds text in the upper left on the map:
> >>>      var statement:TextField = new TextField();
> >>>      statement.text = "Hello World!";
> >>>      map.addChild(statement);
>
> >>> However, doing this with a Button does not seem to work. I don't get
> >>> an error, but I don't see a button.
> >>>      var btn:Button = new Button();
> >>>      btn.label="Play";
> >>>      map.addChild(btn);
>
> >>> Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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 google-maps-api-for-flash@googlegroups.com
To unsubscribe from this group, send email to 
google-maps-api-for-flash+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to