Published on 2007-07-08 10:07:52
Comtaste Consulting have an interesting post on creating an ObjectManager to improve the Flex interaction with Ajax or JavaScript where they evoke different issues and limits to access Flex from JavaScript. In the post, Francesco recommended using Flex Ajax Bridge, which is included in Adobe LiveCycle Data Services 2.5, allowing to make your ActionScript classes available to JavaScript without any additional coding.
While the functionalities offered by the External Interface class of the Flash Player can solve the easiest cases of ActionScript/JavaScript interaction, it is advisable to use the FABridge (Flex Ajax Bridge) in the most complex situations, in presence of user-defined classes or when we should define an interface to make JavaScript dialog with ActionScript and vice-versa.
Member of the PHP Magazine Network, Copyright (C) 2005-2008 phpmagazine.net All Rights Reserved