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