Calling javascript function after loading flash
<p>Hey friends, i have created a website. On the home page there is a flash embed. The video 
plays automatically and after playing it, the user is redirected to some inner page.
For this purpose i have used <code>setTimeout</code> funtion which redirects the user after 50 seconds to that page. it is done using Javascript. But flash loading time depends on internet speed.
So how can I get Javascript to automatically redirect the user after the flash movie has completed?</p>
