Has anyone on this list done any work with the FABridge code provided by Adobe for use in working with Flex? I've got it running great when it's in a plain script block inside the body tag. But the second I put it inside a jQuery $(document).ready call, it dies (with no errors). I've tried putting the call in different locations, I've tried loading in the SWF explicitly, but nothing works. I've provided a snip of the two codes below. Any help would be greatly appreciated!! THIS WORKS ------------------------ [snip] <body> <script type="text/javascript" src="lib/FABridge.js"></script> <script type="text/javascript" src="lib/FDMSLib.js"></script> <script type="text/javascript"> <!-- FDMSLibrary.load("FDMSBridge.swf", initApp); function initApp() { alert('init'); } //--> </script> </body> [/snip] THIS DOESN'T ------------------------------- [snip] <head> <script type="text/javascript" src="lib/FABridge.js"></script> <script type="text/javascript" src="lib/FDMSLib.js"></script> <script type="text/javascript"> <!-- $(document).ready(function(){ FDMSLibrary.load("FDMSBridge.swf", initApp); function initApp() { alert('init'); } }); //--> </script> </head> [/snip]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302542 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4