[ https://issues.apache.org/jira/browse/FLEX-35309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16017913#comment-16017913 ]
Josh Tynjala commented on FLEX-35309: ------------------------------------- At this point, WebKit in AIR is so far out of date that I suspect that many major libraries are starting to have issues because they've dropped support for other browsers from that era. Apparently, it's too much work to constantly update WebKit with Adobe's internal changes. I know that StageWebView had an option to use the native system browser (even on desktop, as I understand it), but I'm not sure if they exposed that for HTMLLoader or not. You might also look for an ANE. I think I remember seeing one that used Chromium Embedded Framework. > Google Maps does not work - TypeError > ------------------------------------- > > Key: FLEX-35309 > URL: https://issues.apache.org/jira/browse/FLEX-35309 > Project: Apache Flex > Issue Type: Bug > Components: mx: HTML Control > Affects Versions: Apache Flex 4.16.0 > Reporter: David Reade > Priority: Blocker > > <?xml version="1.0" encoding="utf-8"?> > <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" > > xmlns:s="library://ns.adobe.com/flex/spark" > > xmlns:mx="library://ns.adobe.com/flex/mx" > creationComplete="maximize()"> > <mx:HTML > location="https://developers.google.com/maps/documentation/javascript/examples/map-simple" > width="100%" height="100%"/> > </s:WindowedApplication> > The code above should load the Google Maps API simple-example but the console > reports: > TypeError: Result of expression 'Vm.bind' [undefined] is not a function. > at > https://developers.google.com/_static/430ba28802/js/script_foot_closure.js : > 269 > at https://developers.google.com/_static/430ba28802/js/script_foot.js : 310 > at > https://developers.google.com/maps/documentation/javascript/examples/map-simple > : 938 > TypeError: Result of expression 'Z.Fn.bind' [undefined] is not a function. > at > https://developers.google.com/_static/430ba28802/js/script_foot_closure.js : > 663 > at > https://developers.google.com/maps/documentation/javascript/examples/map-simple > : 235 > at https://developers.google.com/_static/430ba28802/js/jquery-bundle.js : 41 > at https://developers.google.com/_static/430ba28802/js/jquery-bundle.js : 41 > at https://developers.google.com/_static/430ba28802/js/jquery-bundle.js : 41 > s at https://developers.google.com/_static/430ba28802/js/jquery-bundle.js : 40 > TypeError: Result of expression 'a.apply' [undefined] is not a function. > at > https://maps.googleapis.com/maps/api/js?key=AIzaSyDIJ9XX2ZvRKCJcFRrl-lRanEtFUow4piM&callback=initMap > : 32 > at https://maps.googleapis.com/maps-api-v3/api/js/29/0/common.js : 169 > at https://maps.googleapis.com/maps-api-v3/api/js/29/0/common.js : 45 > TypeError: Result of expression 'a.V.unbindAll' [undefined] is not a function. > at https://maps.googleapis.com/maps-api-v3/api/js/29/0/controls.js : 92 > at https://maps.googleapis.com/maps-api-v3/api/js/29/0/controls.js : 95 > at https://maps.googleapis.com/maps-api-v3/api/js/29/0/controls.js : 134 > at > https://maps.googleapis.com/maps/api/js?key=AIzaSyDIJ9XX2ZvRKCJcFRrl-lRanEtFUow4piM&callback=initMap > : 121 > The same issue occurs in Flex 4.6 with AIR SDK 25.0. -- This message was sent by Atlassian JIRA (v6.3.15#6346)