externalinterface Questions
7
Solved
I'm using AngularJS to build HTML controls that interact with a legacy Flex application. All callbacks from the Flex app must be attached to the DOM window.
For example (in AS3)
ExternalInterface...
Tunstall asked 7/5, 2012 at 23:35
3
I'm trying to interface ActionScript with JavaScript using ExternalInterface and webpack.
ExternalInterface can only provoked (call) functions found on the global object (window). How can I get a ...
Clammy asked 24/4, 2015 at 10:18
5
Solved
My simple ActionScript
I am trying to use Flash's ExternalInterface to setup a callback so that JavaScript can call a method on my Flash object. Everything works fine in Safari, Firefox and in IE,...
Lim asked 17/9, 2009 at 4:36
5
Is there a way to get a list of the exposed functions from a Flash object? For example, you could get a list of all methods in an object by executing:
for (var i in object) {
if (typeof object[i]...
Meghannmegiddo asked 12/1, 2010 at 21:3
0
I have a small flash app that I load dynamically upon jQuery document.ready. It works in all browsers except for IE. When the installed version of FlashPlayer is less than 10.1, the callbacks added...
Enliven asked 6/3, 2013 at 14:3
1
This is my first question on Stack Overflow. It's not the first time I wanted to write one, but usually I find a solution using the search bar, this time I didn't. The problem I'm tackling is a lit...
Vagrancy asked 29/11, 2012 at 14:53
8
I'm working on a Flash game that needs to call some Javascript on the page and get data back from it. Calling Javascript from Flash works. Calling the Flash functions from Javascript (often) doesn'...
Poynter asked 14/4, 2010 at 0:18
3
Solved
I have developed a software for managing the details of patients, the software stores the data into MSsql database....
However, the data I need to get stored has to be read from an external device ...
Nammu asked 15/2, 2012 at 15:53
2
Solved
I have a very odd problem with Flash 10 and ExternalInterface. I am currently using a homemade bridge to use RTMFP with Javascript and whenever I try to pass data that contains JSON, I get a wierd ...
Claresta asked 1/3, 2011 at 0:57
6
Solved
I am trying to enable communication between Javascript and Flash via ExternalInterface across domains. The Javascript works great when it is located on the same domain as the SWF. But in one case, ...
Polka asked 24/6, 2009 at 14:17
3
Solved
This is a bit of a strange question, but I thought people here might be interested.
Is it possible to have R cause a file to be opened in another program? For example, could you write a command lin...
Kimberleekimberley asked 5/8, 2011 at 7:14
2
Solved
R .call() interface and EXTPTRSXP: Understanding PROTECT/UNPROTECT with externally allocated objects
In the following code, object of type foo is created with a call to foo_new() and an external-pointer to the object is returned to R. Subsequent computations are performed by passing ptr_foo. The o...
Counterwork asked 20/7, 2011 at 4:41
2
Solved
I'm trying to call a function in an action script using the ExternalInterface.addCallback API, but I can't seem to get it to work. Here's what I have:
ActionScript:
//MyClass.as
package {
impo...
Zorine asked 1/6, 2011 at 22:39
2
I'm trying to call a Flash (AS3) function from Javascript. When the code runs, I get the error "Error: uncaught exception: Error calling method on NPObject!" From my day's worth of googling around,...
Hutt asked 13/9, 2009 at 18:45
1
I need to obtain a string from HTML and put it into Actionscript.
the actionscript:
import flash.external.ExternalInterface;
protected function getUserName():void{
var isAvailable:Boolean = Exte...
Lecithinase asked 18/5, 2010 at 8:26
2
Solved
So I have a URL that I need my Flash movie to extract variables from:
example link:
http://www.example.com/example_xml.php?aID=1234&bID=5678
I need to get the aID and the bID numbers.
I'm ab...
Foretop asked 27/4, 2010 at 21:20
2
Solved
I am working on my open source project Downloadify, and up until now it simply handles returning Strings in response to ExternalInterface.call commands.
I am trying to put together a test case usi...
Dyslexia asked 21/1, 2010 at 5:57
1
Solved
How would I go about passing a variable to a javascript function using ExternalInterface?
Milone asked 18/1, 2010 at 14:6
2
Solved
I'm calling into a flash app embedded in a html page using the ExternalInterface.
The following code works fine (I'm using a button to test):
$(document).ready(function(){
$("#button").click(func...
Handy asked 7/12, 2009 at 14:15
3
Solved
I am trying to use Javascript to intercept keyboard events, so I can do CMD-W for "close-window" and whatnot, inside a Flash application, so the Browser doesn't get to use them.
Well, I am able to...
Prowess asked 11/11, 2009 at 6:34
1
Solved
I am trying to call an action in a flash object from the javascript:
as:
function testExternalConnection(str:String):Void {
_root.debug.htmlText = "testExternalConnection ok";
}
ExternalInterfac...
Conrad asked 22/7, 2009 at 15:23
3
Solved
Is it possible to send an array from Flash (AS3) to JavaScript using an ExternalInterface call?
I currently am calling a function multiple times from a 'for each' loop inside Flash but it goes to...
Picturize asked 29/6, 2009 at 14:20
2
Solved
I'm trying to edit some flash to make an external javascript function call, but with no success. Here's my actionscript 2.0 code:
//testing external .js calls
import flash.external.ExternalInterf...
Hallucinosis asked 3/5, 2009 at 21:48
3
Solved
On a more abstract level then a previous question, in my experience there are 3 ways to call a javascript function on an html page from an embedded .swf using AS3: ExternalInterface, fscommand, and...
Bologna asked 23/11, 2008 at 20:1
1
© 2022 - 2024 — McMap. All rights reserved.