thanks Michael.. Adding the children did the trick..
On Oct 27, 9:55 pm, mic <[email protected]> wrote: > Josh, > > You can use the basic display object ordering with in flash. So just > make sure the container display object that your map is added to is > below that of your interactive content. > > eg using your base class as the container > > addChild( map ); > var interactiveLayer:Sprite = new Sprite(); > addChild( interactiveLayer ); > > then add all your interactive content to that layer. > > interactiveLayer.addChild( someButton ); > > It should appear above your map. > > Michael > > On Oct 28, 7:54 am, Josh Gage <[email protected]> wrote: > > > Hello.. First post on the forums here so I'll try not to sound like too > > much of a n00b > > > I've had great success creating buttons that control actions on my > > google map (adding groundoverlay for example). > > > In the past I've created these buttons as separate movie clips outside > > the map area. > > > I am now working on a map that is full screen (i.e. it is sized to > > whatever size the browser is sized). I accomplished this sizing by > > setting > > map.setSize(new Point(stage.stageWidth, stage.stageHeight)); > > > I also changed the html publish setting in flash such that dimmensions > > were 100%. > > > I'd like to add buttons to my google map but when I place them on the > > stage, they do not appear nor are they interactive. I suspect they are > > underneath the google map or something. > > > My questions are > > 1) Is this the best way to achieve full-screen layout? > > 2) If I want to create movie clips in flash that are interactive (i.e. > > buttons etc), how can I make them show above/in my google map? > > > thanks in advance, > > > j -- 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.
