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:
When flash stops, you call
So to detect if flash is playing, you just check the value of the flashIsPlaying