CDHtmlDialog优化flash播放效果的问题?
现在碰到一个问题,采用VS2003(MFC7.1)使用Html界面技术(CDHtmlDialog)
所开发的软件中。界面均采用html+css的方式去实现。其中有3个界面的中是嵌入了flash,
在该窗体界面的中间播放显示flash。当部署在现场实际的电脑时发现,某个界面显示出来时,
该界面上的flash画面上会有一大块空白块,感觉就是显卡处理不过来的感觉。其他有flash的界面则没有这个错误现象。
我对比了下这几个flash文件的大小,其中有空白块显示的flash文件也才400多K的大小,其他flash则是200K大小。
请问各位,怎么进行优化,包括程序代码的优化以及操作系统设置的优化? 操作系统为winxp sp2, 纯净系统。谢谢!
具体的代码大概如下:
<style type="text/css">
body
{
margin:0px;
padding: 0px;
height:100%;
width:100%;
background-color:#486180;
background-image:url("C:\1.png");
background-repeat:no-repeat;
/* <!-- background-color:Red; --> */
}
#TOP
{
margin:0px;
padding: 0px;
height: 20%;
width: 100%;
border:0px;
}
#CONTENT
{
margin:0px;
padding: 0px;
height: 80%;
width: 100%;
border:0px;
}
#FLASH1
{
margin:0px;
padding: 0px;
position:absolute;
left: 200px;
top: 290px;
width: 624px;
height: 320px;
border:0px solid #ccc;
}
#TimerSet
{
margin:0px;
padding: 0px;
position:absolute;
left: 920px;
top: 112px;
text-align:right;
font-family:"楷体";
font-size:22px;
font-weight:bold;
color:Red;
border:0px;
}
</style>
<body>
<div id="TOP">
<div id="TimerSet">
</div>
</div>
<div id="CONTENT">
<div id="FLASH1">
<object type="application/x-shockwave-flash" data="test.swf" width="100%"
height="100%"
id="test" align="middle" VIEWASTEXT>
<param name="movie" value="C:\1.swf" />
</object>
</div>
</div>
</body>