Questions tagged [externalinterface]

The ActionScript ExternalInterface class enables communication between ActionScript and the SWF container. For example, ExternalInterface can be used to call an ActionScript function in Flash, from JavaScript in an HTML page. This is often use for sending variables from a container HTML page to an SWF file.

The ActionScript ExternalInterface class enables communication between ActionScript and the SWF container. For example, ExternalInterface can be used to call an ActionScript function in Flash, from JavaScript in an HTML page. This is often use for sending variables from a container HTML page to an SWF file.

308 questions
0
votes
5 answers

ExternalInterface

Hey, so I'm having a bunch of trouble getting ExternalInterface to work, which is odd, because I use it somewhat often. I'm hoping it's something I just missed because I've been looking at it too long. The flash_ready function is correctly returning…
Jesse
  • 10,370
  • 10
  • 62
  • 81
0
votes
1 answer

Listen to the value of a var continuously

I have a swf embedded in another application (Articulate Storyline), and I am using ExternalInterface to retrieve values from this application like so: stop(); import flash.external.ExternalInterface; var myFlashVar:Number =…
user1525612
  • 1,864
  • 1
  • 21
  • 33
0
votes
1 answer

AS3 - Flash to AIR - ExternalInterface

I have a flash project that I am trying to convert to Adobe AIR to be compatible with steam. The flash project uses ExternalInterface calls into Javascript that embeds the swf that are essential to the app (PHP logins, Facebook interactions,…
Josh Brittain
  • 2,162
  • 7
  • 31
  • 54
0
votes
1 answer

ExternalInterface return to AS3 not working consistently in IE

So, I'm having some trouble returning a value from an ExternalInterface call. I have a piece of code that looks like this: var a:String = String(ExternalInterface.call("function() { var returnTest = 'test'; alert(returnTest); return…
Surgery
  • 217
  • 1
  • 3
  • 13
0
votes
1 answer

Is it possible to populate HTML form field data in an iPhone UIWebView using external accessory framework?

I have an iPhone app where I'd like to load a remotely served HTML form into a UIWebView and then populate that form as data becomes available from an external accessory using the "External Accessory Framework." Right now the data is entered by…
Zach
  • 805
  • 1
  • 9
  • 16
0
votes
1 answer

Issues loading SWF with External SWF Files - using SWFObject and ExternalInterface

I'm having issues with loading a SWF that references external SWF files... The main SWF loads fine if the HTML file is in the same folder as all the SWFs using the following code: