锘??xml version="1.0" encoding="utf-8" standalone="yes"?>
_root._xscale=int(300);
_root._yscale=int(300);
緗戦〉閲岀殑浠g爜錛?br />
<html>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<div id="Layer1" style="position:absolute; left:600px; top:15px; width:200px; height:200px; z-index:0; overflow: visible;">
<object id="tt1" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="200" height="200">
<param name="movie" value="test.swf">
<param name="quality" value="high">
<embed src="test.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="200" height="200" ></embed>
</object>
</div>
<p>
<INPUT onclick="setSize()" type="button" value="setSize">
<SCRIPT LANGUAGE="JavaScript">
<!--
function setSize()
{
document.getElementById("tt1").width=600;
document.getElementById("tt1").height=600;
document.getElementById("Layer1").style.left=100;
document.getElementById("Layer1").style.top=15;
document.getElementById("Layer1").width=600;
document.getElementById("Layer1").height=600;
}
function setSize2()
{
document.getElementById("tt1").width=200;
document.getElementById("tt1").height=200;
document.getElementById("Layer1").style.left=600;
document.getElementById("Layer1").style.top=15;
document.getElementById("Layer1").width=200;
document.getElementById("Layer1").height=200;
}
//-->
function timedMsg()
{
var t=setTimeout("setSize()",5000)
var t2=setTimeout("setSize2()",10000)
}
</SCRIPT>
</p>
<body onLoad="timedMsg()">
<table width="951" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="698" height="71" bgcolor="#00FF66"> </td>
<td width="253"> </td>
</tr>
</table>
<p> </p>
</body>
</html>
my_nc3 = new NetConnection();
my_nc3.connect(null);
my_ns3= new NetStream(my_nc3);
ns3.attachVideo(my_ns3);
my_ns3.play("3.swf");
this.createTextField("loaded_txt", this.getNextHighestDepth(), 10, 10,
160, 22);
this.createEmptyMovieClip("progressBar_mc", this.getNextHighestDepth());
progressBar_mc.createEmptyMovieClip("bar_mc",
progressBar_mc.getNextHighestDepth());
with (progressBar_mc.bar_mc) {
beginFill(0xFF0000);
moveTo(0, 0);
lineTo(100, 0);
lineTo(100, 10);
lineTo(0, 10);
lineTo(0, 0);
endFill();
_xscale = 0;
}
progressBar_mc.createEmptyMovieClip("stroke_mc",
progressBar_mc.getNextHighestDepth());
with (progressBar_mc.stroke_mc) {
lineStyle(0, 0x000000);
moveTo(0, 0);
lineTo(100, 0);
lineTo(100, 10);
lineTo(0, 10);
lineTo(0, 0);
}
var loaded_interval:Number = setInterval(checkBytesLoaded, 500,
my_ns,my_ns3);
function checkBytesLoaded(my_ns:NetStream) {
var pctLoaded:Number = Math.round(my_ns.bytesLoaded / my_ns.bytesTotal
* 100);
loaded_txt.text = Math.round(my_ns.bytesLoaded / 1000 + my_ns3.bytesLoaded / 1000) + " of " +
Math.round(my_ns.bytesTotal / 1000 + my_ns3.bytesTotal / 1000) + " KB loaded (" + pctLoaded +
"%)";
progressBar_mc.bar_mc._xscale = pctLoaded;
if (pctLoaded>=100) {
loaded_txt._visible=false;
progressBar_mc._visible=false;
clearInterval(loaded_interval);
play();
}else{
stop();
}
}