Closed GoogleCodeExporter closed 9 years ago
Hi, simply include the stagewebviewbridge.js file in
http://www.electrofrog.com/tests/fb/iwasthere/bridge.html this would do the
trick....
Original comment by xperime...@gmail.com
on 6 Feb 2012 at 10:48
Sorry, that's surely not the right place for asking support, but it might help
some others.
Well I've included stagewebviewbridge.js in my html page, but now I have an
error raised at runtime telling me that there is a parse error in this file :
SyntaxError: Parse error
http://www.electrofrog.com/tests/fb/iwasthere/StageWebViewBridge.js : 1
Any clue about this ?
Vincent
Original comment by konbini....@gmail.com
on 7 Feb 2012 at 9:42
Same issue here. StageWebView.js causes runtime error (crash) and nothing gets
executed after that point.
Firefox reports:
uncaught exception: [Exception... "Component returned failure code: 0x804b0012
(NS_ERROR_UNKNOWN_PROTOCOL) [nsIDOMLocation.href]" nsresult: "0x804b0012
(NS_ERROR_UNKNOWN_PROTOCOL)" location: "JS frame ::
http://localhost/ios/StageWebViewBridge.js :: anonymous :: line 128" data: no]
The faulty line in question is 126:
setTimeout( function(){ window.location.href=sendingProtocol+'[SWVData]'+btoa(
JSON.stringify( _serializeObject ) );},aggregatedCallDelay );
Original comment by jourdain...@gmail.com
on 21 Feb 2012 at 7:25
I think there is a confusion on the files provided.
I am using AIR 3.1 with Flash Builder 4.6 compiling to iOS.
What I've done:
1 - Used the src files instead of the swc.
2 - My hmtl file calls the StageWebViewBridge.js in this way:
<script type="text/javascript"
src="appfile:/StageWebViewBridge.js"></script>
I "kind of" got it to work.
I cam call JS form AS, but sometimes some shit happens.
My goal is to use the new JS Google Maps API, but I can't get the GM functions
to work properly.
It works smoothly at my desktop, but when I put the app inside the phone, it
goes bad.
Original comment by beterra...@gmail.com
on 19 Apr 2012 at 5:32
Original issue reported on code.google.com by
vincent....@gmail.com
on 6 Feb 2012 at 10:38Attachments: