Update: I figured out how to get the FABridge to work with SWFObject. Here is a simple working example with a button which when pressed calls a function "test" in the Flex app:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>FABridge Test</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script src="bridge/FABridge.js" type="text/javascript" /> <script src="swfobject.js" type="text/javascript" /> <script type="text/javascript"> swfobject.registerObject("myFlashContent", "9.0.0", "expressInstall.swf"); </script> </head> <body> <div> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="640" height="480" id="myFlashContent"> <param name="movie" value="out.swf" /> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="out.swf" width="640" height="480"> <!--<![endif]--> <a href="http://www.adobe.com/go/getflashplayer"> <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_playe\ r.gif" alt="Get Adobe Flash player" /> </a> <!--[if !IE]>--> </object> <!--<![endif]--> </object> </div> <input type="button" id="bridgeBtn" value="Talk to Flex" onclick="var flexApp = FABridge.flash.root(); flexApp.test();" /> </body> </html> I have not been able to get the bridge/SWFObject to play nicely with Prototype/jQuery, however. I would like to instantiate the FABridge when the DOM is loaded, and then store a reference to be called periodically later. So far the only thing that has worked for me is to instantiate it as it's used, sometime after the DOM is loaded. When I try to use either Prototype's Event.observer(window,) or jQuery's $() after loading FABridge.js nothing happens. If anyone has any idea why this is, I would be very interested to find out. Keith