Hi, DGorsky, What version of swc are you using? I tried to run the following piece of MXML with the most recent (1.7) version of maps flex-compatible swc:
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:maps="com.google.maps.*"> <mx:TitleWindow layout="absolute" left="0" right="0" top="0" bottom="0"> <maps:Map left="0" right="0" top="0" bottom="0" key="[InsertYouKeyHere]"/> </mx:TitleWindow> </mx:Application> It worked fine for me. Please, could you provide a piece of code that failed to work for you? Thanks. Dmitri. On Oct 3, 2:48 pm, DGorsky <[EMAIL PROTECTED]> wrote: > I'm having similar problem: > > If I put google maps code into the <mx:application> window wvwerything > is working great. > Hovever, if I try to do the same inside mx:TitleWindow I keep getting: > > " Cannot access a property or method of a null object reference." > error. > It is failing on line mapContainer.addChild(). > > I know what does this error typically mean, hovever in this situation > I've failed to find the cause. > > thanks for help --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
