Anyone know how to detect (via javascript) if a swf file is done playing or is at the last frame? I need to run a javascript function once a swf is done playing and I don't have control of the authoring of the flash file. Because I don't have access to the flash source file I can't put code in the swf to pass to the javascript.

I thought about loading the swf inside my own swf, but the files I need to do the detect on will be on another domain, so I can't load the swf in my file since they are not on the same domain. As I've found the file will not display if I call it outside the domain.

If no one knows how to detect the status via javascript,
has anybody found a way around the seperate domain issue?

Thanks in advance,
Hyper