I am trying put the focus onto a flash piece on a html page. I keep getting an error saying that window.document.mymovie.focus is not a function. Here are the code snippets:
<body onLoad="window.document.mymovie.focus();">
<object classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" width="540" height="433" id="mymovie" name="mymovie">
<param name="movie" value="../swfs/ambulance.swf">
<param name=quality value=high>
<embed src="../swfs/ambulance.swf" quality=high pluginspage=" type="application/x-shockwave-flash" width="540" height="433" id="mymovie" name="mymovie"></embed>
</object>
Any help would be greatly appreciated!
- James
<body onLoad="window.document.mymovie.focus();">
<object classid="clsid
<param name="movie" value="../swfs/ambulance.swf">
<param name=quality value=high>
<embed src="../swfs/ambulance.swf" quality=high pluginspage=" type="application/x-shockwave-flash" width="540" height="433" id="mymovie" name="mymovie"></embed>
</object>
Any help would be greatly appreciated!
- James