Hey beatjunky-

Does it work if you pass the key into the HTML containing this SWF?
Either way, please file as a bug and I'll share it with the team.

- pamela

On Tue, Oct 14, 2008 at 2:06 AM, beatjunky <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> that's all the code. There are two swf Files. One is the application
> code with the module loader and the module is a separate swf file
> which is loaded at runtime.
> It seems like the key is not recognized correctly when I embed the map
> with an MXML Tag in a Module.
> When I first create an UIComponent on the stage with an MXML tag and
> then add the Map as a child of it, everything works fine, even with
> Version 1.7a.
>
> beatjunky
>
>
> On 8 Okt., 07:50, "pamela (Google Employee)" <[EMAIL PROTECTED]>
> wrote:
>> Hi beatjunky-
>>
>> Did this work with 1.6? What does the code for that SWF file look
>> like? I'm afraid I'm not familiar with ModuleLoader, so I'm not sure
>> what the error is indicating.
>>
>> - pamela
>>
>> On Sun, Oct 5, 2008 at 8:18 PM, beatjunky <[EMAIL PROTECTED]> wrote:
>>
>> > 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