Hi Dominique-

If you don't want to take advantage of the new Flex component, you
should use the non-Flex swc and the same code that you used before.
Does the non-Flex SWC work for you?

- pamela

On Tue, Oct 21, 2008 at 2:52 AM, dominique <[EMAIL PROTECTED]> wrote:
>
> I had been working on a lightweight map using API v 1.5 and just
> upgraded to 1.7 and it stopped working.
>
> With v1.4 and v1.5 I was able to have a Main.mxml file that simply had
> the following:
>
> <?xml version="1.0" encoding="utf-8"?>
> <proj:Project xmlns:proj="com.example.project.*" key="12456"
> width="800" height="600"/>
>
> This no longer seems sufficient.  With v1.7 nothing happens when I
> load the SWF.  Looking over the latest API examples I noticed that
> they now wrap the map in <mx:Application> like so:
>
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
> layout="absolute">
> <proj:Project xmlns:proj="com.example.project.*" key="12456"
> width="100%" height="100%"/>
> </mx:Application>
>
> If I do this it works.  However, the file size of the resulting SWF
> balloons from 44KB to 219KB.  I understand this is because it now
> loads the Application container with the spiffy loading box.  I don't
> actually need this so is there any way to still load a map without
> wrapping it in an <mx:Application> container?
>
> Thanks.
>
> P.S. I'm using the Flex SDK.
> >
>

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