英语翻译clearInterval(topMovie.intID);topMovie.loadMovie("incTop
来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/11/17 15:15:29
英语翻译
clearInterval(topMovie.intID);
topMovie.loadMovie("incTopMovie.swf");
var my_nc = new NetConnection();
my_nc.connect(null);
var my_ns = new NetStream(my_nc);
my_ns.onStatus = function (infoObject)
{
if (infoObject.code == "NetStream.Play.Stop")
{
} // end if
};
my_video.smoothing = true;
my_video.deblocking = 3;
my_video.attachVideo(my_ns);
this.createEmptyMovieClip("my_ns_mc",this.getNextHighestDepth());
my_ns_mc.attachAudio(my_ns);
var my_ns_sound = new Sound(my_ns_mc);
my_ns_sound.setVolume(45);
my_ns.setBufferTime(4);
my_video.attachVideo(my_ns);
my_ns.play("hezuo.flv");
playAndStop.onPress = function ()
{
my_ns.pause();
if (this.ico._currentframe == 2)
{
this.ico.gotoAndStop(1);
}
else
{
this.ico.gotoAndStop(2);
} // end else if
};
最好能把每一行都翻译一下.
clearInterval(topMovie.intID);
topMovie.loadMovie("incTopMovie.swf");
var my_nc = new NetConnection();
my_nc.connect(null);
var my_ns = new NetStream(my_nc);
my_ns.onStatus = function (infoObject)
{
if (infoObject.code == "NetStream.Play.Stop")
{
} // end if
};
my_video.smoothing = true;
my_video.deblocking = 3;
my_video.attachVideo(my_ns);
this.createEmptyMovieClip("my_ns_mc",this.getNextHighestDepth());
my_ns_mc.attachAudio(my_ns);
var my_ns_sound = new Sound(my_ns_mc);
my_ns_sound.setVolume(45);
my_ns.setBufferTime(4);
my_video.attachVideo(my_ns);
my_ns.play("hezuo.flv");
playAndStop.onPress = function ()
{
my_ns.pause();
if (this.ico._currentframe == 2)
{
this.ico.gotoAndStop(1);
}
else
{
this.ico.gotoAndStop(2);
} // end else if
};
最好能把每一行都翻译一下.
clearInterval(topMovie.intID); // 重置定时
topMovie.loadMovie("incTopMovie.swf");//装入
var my_nc = new NetConnection();//初始化类
my_nc.connect(null);//连接
var my_ns = new NetStream(my_nc);//初始化类
my_ns.onStatus = function (infoObject)//异步等待通知
{
if (infoObject.code == "NetStream.Play.Stop")
{
} // end if
};
my_video.smoothing = true; //设置视频的各种参数
my_video.deblocking = 3;
my_video.attachVideo(my_ns);
this.createEmptyMovieClip("my_ns_mc",this.getNextHighestDepth());
my_ns_mc.attachAudio(my_ns);
var my_ns_sound = new Sound(my_ns_mc);//设置音频
my_ns_sound.setVolume(45);
my_ns.setBufferTime(4);
my_video.attachVideo(my_ns);
my_ns.play("hezuo.flv");
playAndStop.onPress = function ()//按钮事件
{
my_ns.pause();
if (this.ico._currentframe == 2)
{
this.ico.gotoAndStop(1);
}
else
{
this.ico.gotoAndStop(2);
} // end else if
};
topMovie.loadMovie("incTopMovie.swf");//装入
var my_nc = new NetConnection();//初始化类
my_nc.connect(null);//连接
var my_ns = new NetStream(my_nc);//初始化类
my_ns.onStatus = function (infoObject)//异步等待通知
{
if (infoObject.code == "NetStream.Play.Stop")
{
} // end if
};
my_video.smoothing = true; //设置视频的各种参数
my_video.deblocking = 3;
my_video.attachVideo(my_ns);
this.createEmptyMovieClip("my_ns_mc",this.getNextHighestDepth());
my_ns_mc.attachAudio(my_ns);
var my_ns_sound = new Sound(my_ns_mc);//设置音频
my_ns_sound.setVolume(45);
my_ns.setBufferTime(4);
my_video.attachVideo(my_ns);
my_ns.play("hezuo.flv");
playAndStop.onPress = function ()//按钮事件
{
my_ns.pause();
if (this.ico._currentframe == 2)
{
this.ico.gotoAndStop(1);
}
else
{
this.ico.gotoAndStop(2);
} // end else if
};