Hi Gerick,
You can set the creation policy on the tab navigator to all then it
will create all of it's children when it's created rather than just
creating the first pane in the stack, this will make the map api load
initially but you'll just be moving the load time to before the app
comes up, so I think you're probably better off throwing up some sort
of loading dialog when they click the tab then have it hide the
loading dialog on map_ready or something like that.  This way the user
at least gets an indication of what's taking so long to load, if you
move the load time to before the app you might not know if it's
starting or not.  Also on a side note when working with AIR I've found
occasionally the adl.exe file (I would imagine it stands for air debug
linker or something of the sort) gets hung up and I can't run another
debug session without manually terminating it through the task
manager, just a tip.
The reason it doesn't create all the children by default is to reduce
the amount of extra processing the flash player needs to do at load
time, in general it's referred to as deferred instantiation.
<mx:TabNavigator creationPolicy="all"/>
Hope that's helpful,
Shaun

On Sep 23, 2:09 am, Gerick <[email protected]> wrote:
> Hello, I have a problem with AIR and the GoogleMaps API ...
> I'm using to change the state's content in a given state = "info" I
> have a TabNavigator and within a Tab ... I loaded the googlemap
> Everything works fine, but the response time to change the state to
> "info" is almost 15 seconds, because just then decompresses the
> GoogleMaps API.
>
> How can I decompress the API, when start loading the application?
> thanks.
>
> PD: sorry for my english
--~--~---------~--~----~------------~-------~--~----~
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