一个flash下拉条的问题

来源:百度知道 编辑:UC知道 时间:2024/04/29 15:14:41
参考网址:http://www.5uflash.com/Html/dhzz/083137920.html

里面下方,有原文件。FLASH8.0的。

我的问题就是,我不想要 鼠标 托拉的 效果,
我想要 像IE 浏览器,上,下用箭头点的,中间托拉的可以不要。

哪位高手,帮帮忙吧。改改代码, 改的好,我还会加分!
/*说明:
_root.bkban (是整个下拉 mc的名字)
_root.bkban.ydt (是下拉条的mc名字)
_root.bkban.zj (是内容mc的名字)
_root.bkban.rrr (是遮罩的mc名字)
*/

_root.bkban.ydt.bl=0; //判断是否拉动
_root.bkban.ydt.gd=-300; //下拉点开始时的高度
_root.bkban.ydt.yy=_root.bkban.ydt._y;
_root.bkban.zj.yy=_root.bkban.zj._y;
_root.bkban.ydt.sd=(_root.bkban.zj._height-_root.bkban.rrr._height)/380;//算出拉动的速度
_root.bkban.zj.setMask("_root.bkban.rrr");//开始遮罩
_root.bkban.ydt.onEnterFrame=function(){
if(this.bl==0){
this.stopDrag();
if(this.gd>=this.yy&&this.gd<=this.yy+400){

http://tech.163.com/special/00091KV7/videocenter.html
Flash AS视频教程,很全,快看看吧。

把这段代码加到<head>当中
<SCRIPT LANGUAGE=vbscript>
<!--
Function showtable()
xo.style.visibility=""
End Function

Function hiddletable()
xo.style.visibility="hidden"
End Function
-->
</SCRIPT>
<style>
<!--
a:link { text-decoration: none; color: #FFFFFF }
a:visited { color: #FFFFFF; text-decoration: none }
a:active { color: #FFFFFF; text-decoration: none }
a:hover { color: #FF0000; text-decoration: none }
table { font-size: 10pt }
-->