Hey guys,

Is mobile functionality supported with the flash API?

I'm playing around with deploying a flex application to a mobile
device which uses flash google maps api and I keep getting the
following errors when trying to use flex google maps.

Debug stack....

Waiting for Player to connect...
[SWF] Spedmo.swf - 1147 bytes after decompression
[SWF] /mapsapi/publicapi - 4135 bytes after decompression
VerifyError: Error #1107: The ABC data is corrupt, attempt to read out
of bounds.

The code that caused the following error was....

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
                                layout="absolute"
                                minWidth="955"
                                minHeight="600">

        <maps:Map xmlns:maps="com.google.maps.*"
                          id="map"
                          mapevent_mapready="onMapReady(event)"
                          width="100%"
                          height="100%"
                          url="http://spedmo.com";
                          key="xxxxx"/>

        <mx:Script>
                <![CDATA[
                        import com.google.maps.LatLng;
                        import com.google.maps.Map;
                        import com.google.maps.MapEvent;
                        import com.google.maps.MapType;

                        private function onMapReady(event:Event):void
                        {
                                this.map.setCenter(new LatLng(40.736072, 
-73.992062), 14,
MapType.NORMAL_MAP_TYPE);
                        }
                ]]>
        </mx:Script>
</mx:Application>

I'm wondering if anyone has come across this error before when using
flex/flash google maps in this way? The same code works fine on the
web/desktop however not on the device.

If anyone has any suggestions please let me know.

Cheers,

Aaron

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