|
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
|
Adobe Introduces FABridge, the Flex Ajax Bridge
JavaScriptSearch This new JavaScript library enables developers to easily integrate Flex applications with Ajax or DHTML code running in the browser. The Flex Ajax Bridge (FABridge) is a small, unobtrusive library of code that you can insert into a Flex application, a Flex component, or even an empty SWF file to expose it to scripting in the browser. To humbly borrow a page from the Ruby on Rails community, FABridge is built with the “don’t repeat yourself” principle in mind. 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. Once you’ve inserted the library, pretty much anything you can do using ActionScript, you can do using JavaScript. Flash Player has the ability natively, through the External API (the ExternalInterface class), to call JavaScript from ActionScript and vice versa. But ExternalInterface has some limitations:
|
Copyright © 1998 - 2018 DevStart, Inc. All Rights Reserved |