What happened when you execute that function? Did the flash movie play? Or the "Flash is not playing" or "Can't find the flash movie" message was displayed? Please be specific.
But the idea I was thinking when I linked you to that site is this:
When the flash starts to play, you call this in flash:
getURL('javascript
:setFlashPlaying(true)')
When flash stops, you call
getURL('javascript
:setFlashPlaying(false)')
Then in javascript, you have this:
var flashIsPlaying=false;
function setFlashPlaying(flag){
flashIsPlaying=flag;
}
So to detect if flash is playing, you just check the value of the
flashIsPlaying variable.