This is for an AIR app Dan...would it be alright to switch the document.ready over to a window.ready?
-----Original Message----- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2008 7:37 AM To: CF-Talk Subject: RE: Flex Ajax Bridge & jQuery... Andy, >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!! Just remember the whole purpose of the $(document).ready() function is to fire off when the *DOM* is ready, but it doesn't mean all external images and SWFs are loaded. I'd just leave those calls outside of any ready() function, since I assume they hook into the windows.onload event (which would be the correct event to wait for to get a loaded SWF.) -Dan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:302578 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4