I don't have crashing. Only waiting map initialization. About getTime() function. It's standard as3 function http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Date.html#getTime%28%29
On Jul 28, 8:21 am, Daniel <[email protected]> wrote: > 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... > > _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 > athttp://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.
