Hello, Wondering if there has been any investigation into this issue, I'm seeing it as well - I'm going back in now to see if theres anyway to trap the error, but if using a default map (i.e. terrain view), has anyone stumbled upon a fix? Is anyone else having this issue?
Thanks, Ryan On Nov 5, 8:16 am, adrianparker <[EMAIL PROTECTED]> wrote: > Sorry, in my sample code from previous post there is predictably one > silly bug :-) > > Please change the line that reads > > setDisplayedAddressLatLng(ghq); > > to > > setDisplayedAddressLatLng(kdc); > > now it will work and show you the URL not found problem. > > On Nov 5, 4:10 pm, adrianparker <[EMAIL PROTECTED]> wrote: > > > Hi > > > I get this as well. Heres a sample in which it occurs. Run this app in > > a stand alone Flash Player instance (e.g. turn off the HTML stuff in > > your Project properties). Error is sporadic, but if you drag the > > marker way off to the bottom right of your monitor (far beyond the > > edge of the flash player instance) a few times, you'll start getting > > console output like this: > > > [SWF] ...\Map\bin-debug\Map.swf - 700,835 bytes after decompression > > [SWF] /mapsapi/publicapi - 4,064 bytes after decompression > > [SWF] /mapfiles/lib/map_1_7b.swf - 239,387 bytes after decompression > > Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found. > > Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found. > > Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found. > > Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found. > > [Unload SWF] ...\Map\bin-debug\Map.swf > > > Here is my sample code. Only things of interest - running in debug > > mode, using Flash Player stand alone. > > > <?xml version="1.0" encoding="utf-8"?> > > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > > layout="absolute" xmlns:maps="com.google.maps.*" minWidth="400" > > minHeight="200" backgroundColor="#FFFFFF"> > > <mx:HDividedBox width="100%" height="100%"> > > <mx:VBox id="addressBox" minWidth="150" width="150" > > height="100%" > > backgroundColor="#FFFFFF"> > > <mx:Label text="Address Info" fontWeight="bold"/> > > <mx:Label text="Latitude DD"/> > > <mx:TextInput id="latTI" enabled="false" > > width="100%"/> > > <mx:Label text="Longitude DD"/> > > <mx:TextInput id="lonTI" enabled="false" > > width="100%"/> > > </mx:VBox> > > <mx:Canvas id="canvas" width="100%" height="100%" > > > <maps:Map id="map" > > mapevent_mapready="onMapReady(event)" > > width="100%" height="100%" key="your_api_key"/> > > </mx:Canvas> > > </mx:HDividedBox> > > <mx:Script> > > <![CDATA[ > > import com.google.maps.InfoWindowOptions; > > import com.google.maps.overlays.MarkerOptions; > > import com.google.maps.overlays.Marker; > > import com.google.maps.MapMouseEvent; > > import mx.events.ResizeEvent; > > import com.google.maps.MapType; > > import com.google.maps.LatLng; > > import com.google.maps.MapEvent; > > private var kdc:LatLng= new LatLng(34.7573594239668, > > 36.29695669163863); > > private function onMapReady(event:MapEvent):void { > > map.setCenter(kdc, 18, > > MapType.HYBRID_MAP_TYPE); > > map.enableScrollWheelZoom(); > > map.addEventListener(MapMouseEvent.CLICK, > > displayClickPos); > > setDisplayedAddressLatLng(ghq); > > var marker:Marker = new > > Marker(map.getCenter(), new > > MarkerOptions({draggable: true})); > > > > marker.addEventListener(MapMouseEvent.DRAG_START, > > function(event:Event):void { > > map.closeInfoWindow(); > > }); > > > > marker.addEventListener(MapMouseEvent.DRAG_END, > > function(event:Event):void { > > marker.openInfoWindow(new > > InfoWindowOptions({content:"Just > > bouncing along..."})); > > }); > > map.addOverlay(marker); > > } > > private function > > displayClickPos(event:MapMouseEvent):void{ > > setDisplayedAddressLatLng(event.latLng); > > } > > private function > > setDisplayedAddressLatLng(latLng:LatLng):void { > > if(latLng){ > > latTI.text = > > latLng.lat().toString(); > > lonTI.text = > > latLng.lng().toString(); > > } > > } > > ]]> > > </mx:Script> > > </mx:Application> > > > On Oct 27, 1:48 am, "pamela (Google Employee)" <[EMAIL PROTECTED]> > > wrote: > > > > Hi Kirk- > > > Can this error be replicated using only the HelloWorld demo, or are you > > > doing something else in your code? Have any other developers in the forum > > > seen this error? > > > > - pamela > > > > On Thu, Oct 23, 2008 at 10:02 PM, cashoncashdeal <[EMAIL PROTECTED]> > > > wrote: > > > > > I am getting this message from time to time a the google map loads its > > > > tiles: > > > > > Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found. > > > > > It does not always happen, but it is quite frequent. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
