The main problem is that the flash maps API loads files externally, if
it didn't it could be possible to use it with the flash packager. The
flash packager can not load any external SWFs, well it can, but it
ignores any code, so all code bearing SWFs need to be included in the
package.

Honestly the best way to make a cross platform app is using HTML.
Check out phone gap.

Good Luck,

Jonathan
Scribblemaps.com

On Mar 29, 10:09 am, Gil Polguère <[email protected]> wrote:
> Hello,
>
> I am trying to use the Google Maps API for iOS using AIR 2.6. But it looks
> like we can't...
>
> Here is what I did :
>
> var map : Map = new Map();
> map.key = "...";
> map.url = "http://localhost/";;
> map.sensor = "true";
> map.setSize(new Point(stage.stageWidth, stage.stageHeight));
> addChild(map);
>
> It makes sense to me that we can't use the Google Maps API for AS3 because
> it loads SWF which obviously contain Actionscript. Since it's unsupported on
> the iPhone, I'm getting the error :
>
> *Uncompiled ActionScript*
>
> Your application is attempting to run uncompiled ActionScript, probably due
> to the use of an embedded SWF. This is unsupported on the iPhone. See the
> Adobe Developer Connection website for more info.
>
> Has anyone a workaround/idea ?
>
> Thank you guys!
>
> Gil

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