About the Flex AJAX Bridge

The Flex AJAX Bridge (FABridge) is a small, unobtrusive code library that you can insert into an Flex application, a Flex component, or an empty SWF file to expose it to scripting in the browser.

Rather than having to define new, simplified APIs to expose a graph of ActionScript objects to JavaScript, with FABridge you can make your ActionScript classes available to JavaScript without any additional coding. After you insert the library, essentially anything you can do with ActionScript, you can do with JavaScript.

Adobe Flash Player has the native ability, through the External API (the ExternalInterface class), to call JavaScript from ActionScript, and vice versa. But ExternalInterface has some limitations:

View a sample application that makes use of the Flex AJAX Bridge.

NOTE

 

You must install Flash Player 9 to view the sample application.

When to use the Flex AJAX Bridge

The FABridge library is useful in the following situations:

Requirements for using the AJAX Bridge

To use the FABridge library and samples, you must have the following:


LiveCycle Data Services ES 2.5

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcds/ajaxbridge_2.html