Skip to main content
July 21, 2011
Question

iPad => webStageView => HTML => call javascript function thru Flash

  • July 21, 2011
  • 1 reply
  • 1678 views

Has anyone loaded a HTML file thru webStageView, and then been able to call javascript functions embeded in the HTML through flash.

I've seen references to using webStageViewBRIDGE but I think that has been depreciated.

Below is a link to a Adobe tutorial doing this with the htmlLoader class and FLEX.

Cross-scripting PDF content in an Adobe AIR application

http://www.adobe.com/devnet/air/flex/quickstart/articles/scripting_pdf.html

If anyone has successfully been able to do this on the iPad, could you explain how it's done or provide a link to some documentation.

Thanks...

This topic has been closed for replies.

1 reply

Participating Frequently
July 21, 2011

Stagewebviewbridge is a 3rd party library (not an official Adobe product). It looks like it is still supported. The technique described should work even if the library isn't being actively developed.

http://code.google.com/p/stagewebviewbridge/wiki/Communication

Also, note that most techniques which use the HTMLLoader class will not work with the StageWebView class -- they are entirely different beasts. (Well, to be precise, on desktop computers, StageWebView uses the same Webkit code, but the interface to it is still very different.)

July 21, 2011

Does that mean the HTMLLoader class is strictly desktop, or at the very least a no go on iOS?

Participating Frequently
July 21, 2011

Correct. HTMLLoader is currently available on desktop platforms only.