I have tried to upgrade to V1.7 but I wasn't able to make it work in a
Flex Module.
When I load the map in an application directly, everything works fine,
but when I load a module with the moduleloader I always get a
TypeError: Error #1009: from the GMaps Component

I have tried with the following code:

The Application Code
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
layout="absolute"
        creationComplete="init()">
        <mx:Script>
                <![CDATA[
                        private function init():void
                        {
                                myLoader.loadModule();
                        }
                ]]>
        </mx:Script>
        <mx:ModuleLoader id="myLoader" url="gmapstest.swf" width="100%"
height="100%"/>
</mx:Application>

The module code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml"; layout="vertical"
width="100%" height="100%">
        <maps:Map xmlns:maps="com.google.maps.*" id="map" width="100%"
height="100%" key="ABCDEFmydeveloperkey"/>
</mx:Module>

Any ideas how to fix this?

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

Reply via email to