I\'m currently using jQuery, as well as swfObject to dynamically embed the swf movie into my web page.
I currently having a problem on embeding immem\'s music player
Typically the easiest thing to do is plain ol' which would wait for your external resources to finish loading before calling your handler.
However, if you're using swfObject to add an embedded plugin dynamically the browser will fire the onload for the body exclusive of your flash movie (it doesn't know anything about your plugin).
See http://blog.deconcept.com/swfobject/forum/discussion/271/javascript-onload-event-does-not-reflect-page-load-using-swfobject/ for a similar discussion to yours. It's my best guess that you cannot do what you want without modifying the original swf in some fashion.