我通过内联这样的 HTML 将 Flash 播放器嵌入到 HTML 中:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0"
width="470" height="320">
<param name="movie" value="http://myserver.com/app.swf"></param>
<param name="FlashVars" value="src=http://myserver.com/mymovie.flv"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://myserver.com/strobe/StrobeMediaPlayback.swf"
type="application/x-shockwave-flash"
allowscriptaccess="always" width="470" height="320"
FlashVars="src=http://myserver.com/mymovie.flv">
</embed>
</object>
我想收到回调 onLoad 或 onError 通知 SWF 应用程序是否已正确下载和初始化。有可能吗?flash 插件是否会为 javascript 公开此类事件?