将flash作为桌面,让自己的桌面变成动态桌面。其实道理很简单,从win98开始,系统就支持用html作桌面,我们要做的只是把flash嵌入到html里,并把flash设置成充满这个html,然后用html作桌面就可以了。以下是1280*1024像素的,如需调整大小,把width="100%" height="100%修改下就OK。
<html>
<body>
<OBJECT id=desktop name=desktop width="102%" height="103%" style="POSITION: absolute; LEFT: 0%; TOP: 0%;" classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0">
<param name="_cx" value="24262">
<param name="_cy" value="16219">
<param name="Src" value="这里填swf文件的路径">
<param name="Movie" value="这里填swf文件的路径">
<param name="WMode" value="Window">
<param name="Play" value="0">
<param name="Loop" value="0">
<param name="Quality" value="High">
<param name="SAlign" value>
<param name="Menu" value="0">
<param name="Base" value>
<param name="Scale" value="ExactFit">
<param name="DeviceFont" value="0">
<param name="EmbedMovie" value="0">
<param name="BGColor" value="003366">
<param name="SWRemote" value>
<param name="Stacking" value="below">
</OBJECT>
</body>
</html>