The DisplayObject referred to in the documentation means that the class that you are providing as the parameter for content must inherit from flash.display.DisplayObject. An commonly used example would be a VBox. I may be going out on a limb saying this, but I am fairly confident that all Flex UI components inherit from DisplayObject. Hope that helps you understand what the documentation is communicating.
NOTE: Aaron On Feb 16, 1:39 pm, mediajammer <[email protected]> wrote: > The docs for the Info Window say "the Map object provides an > openInfoWindow() method, which takes a LatLng and InfoWindowOptions > used to populate the InfoWindow with content. The openInfoWindow() > object appends a DisplayObject to the info window container, and the > info window window tip is anchored to the given latitude and > longitude." > > I thought this was great, assuming that I could place any Flash > display object within the InfoWindow. However, so far I haven't had > any luck, and I'm beginning to wonder if the docs mean 'display > object' as a Flash Display object, or something else. > > Has anyone else figured this out? The example is > map.openInfoWindow(map.getCenter(), new InfoWindowOptions({title: > "Hello", content: "World"})); > > but what "World" is is not defined. > > Thanks, > Peter W -- 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.
