陈一发什么时间直播:这些是什么代码呢 ???我不懂 !!!

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/25 09:30:17
snd = new Sound();
snd.attachSound("dhxy");
snd.start();

on (release) {
_root.snd.stop();
gotoAndStop("play");
}

on (release) {
_root.snd.start();
gotoAndStop("stop");
}

on (press) {
startDrag("", false, left, top, right, bottom);
dragging = true;
}
on (release, releaseOutside) {
stopDrag();
dragging = false;
}

onClipEvent (load) {
top = this._y;
left = this._x;
right = this._x;
bottom = this._y+100;
}
onClipEvent (enterFrame) {
if (dragging == true) {
_root.snd.setVolume(100-(this._y-top));
}
}

onClipEvent (load) {
top = this._y;
bottom = this._y;
left = this._x-50;

属于FLASH编程代码。建议你先借一本关于FLASH编程的书看看。如果想在这方面有些发展,还是需要你买一本关于FLASH动画制作之类的书看看。由浅入深比较好些。
这些是我的经验之谈,可能对你能有些帮助。

flash 代码

看这个干嘛!
这是软件自动编成的!