flash文本连续滚动

[复制链接]
查看11 | 回复1 | 2008-7-17 16:52:56 | 显示全部楼层 |阅读模式
drag_mc.up_btn.onPress = function() {
news_txt.scroll--;
};
drag_mc.down_btn.onPress = function() {
news_txt.scroll++;
};
设置了两个按钮可是都要按一下才动一下 我想按住就让他连续滚动可否?
试过 bartonjyf的代码了 还是不行啊!

回复

使用道具 举报

千问 | 2008-7-17 16:52:56 | 显示全部楼层
//新建一个空白FLASH 把代码放在第一侦._root.createEmptyMovieClip("mc1",_root.getNextHighestDepth());_root.createEmptyMovieClip("mc2",_root.getNextHighestDepth());mc1.createTextField("text1",mc1.getNextHighestDepth(),50,100,40,20);mc1.text1.text = "up";mc1.text1.background = true;mc1.text1.backgroundColor = 0xeeeeee;mc1.text1.sele
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行