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 $(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] ____________________________________ Andy Matthews Senior ColdFusion Developer
Office: 615.627.9747 Fax: 615.467.6249 www.dealerskins.com <http://www.dealerskins.com/> Total customer satisfaction is my number 1 priority! If you are not completely satisfied with the service I have provided, please let me know right away so I can correct the problem, or notify my manager Aaron West at [EMAIL PROTECTED]
<<att3b9bb.jpg>>