title: $(document).ready(function() {}) is being run before the Flex app loads in my page
body: <p>I have a page with an some normal javascript, a swf file and some jquery.</p>
  
  <p>I'm running my jquery code inside the $(document).ready(function() {}) function. But the code is being run before the Flex component (the swf file) has finished loading. Is there something I'm doing wrong?
  Thanks for reading!</p>