What do you mean by crashing are you getting errors? What is in the function
gettimer

On Jul 27, 2010 9:15 PM, "Ilya Smirnov" <[email protected]> wrote:

Hi to all. I have a problem. I input this code(below) in own Adobe AIR
project.
Took example this

http://code.google.com/intl/en/apis/maps/documentation/flash/tutorial-flexbuilder.html#AIRDevelopment

_map = new Map();
_map.percentWidth = 100;
_map.percentHeight = 100;
_map.language = 'ru';
_map.addEventListener(MapEvent.MAP_READY, onMapReady);
_map.addEventListener(MapEvent.MAP_PREINITIALIZE,
onMapPreinitialize);
_map.url = "конфиденциально'';
_map.key = "конфиденциально'';
var time:int = getTimer();
addChild(_map);
trace('addChild(_map) = ' + (getTimer() - time).toString() + ' ms');


My trace show me: addChild(_map) = 7126 ms. What is this? My program
is freezing about 7 sec, when i try to show maps. I try in 3.5 and 4.0
flex sdk. Results are identical.

--
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]<google-maps-api-for-flash%[email protected]>
.
For more options, visit this group at
http://groups.google.com/group/google-maps-api-for-flash?hl=en.

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