FLASH单选框组件 |
| 作者:佚名 来源:闪吧 作者: comicfish 更新:2007-1-13 20:40:46 错误报告 我要投稿 |
先贴效果大家看 点击浏览该文件
stop(); textboard._width = this.txt.length*12+4; lostnum = 0; onEnterFrame = function () { if (this._currentframe == 2) { checked = true; } else { checked = false; } }; for (i=1; i<100; i++) { namenum = this._name.indexOf(i, 0); lostnum = (namenum>lostnum ? namenum : lostnum); } function onPress() { if (checked == false) { for (i=1; i<100; i++) { _parent[this._name.substring(0, lostnum)+i].gotoAndStop(checked ? "checked" : "unchecked"); } this.gotoAndStop(checked ? "unchecked" : "checked"); } }
组件说明: FLASH单选框组件V1.1 制作人:袁帅 邮件地址:comicfish2000◎yahoo.com.cn 本组件会自动识别元件名称,例如该组件运用于一个单选环境下,题目一的选择命名为qute1,qute2,qute3 该组件则自动识别qute为该组的组名
点击浏览该文件
|
|
| 文章录入:skyuu 责任编辑:skyuu |
|
| 【字体:小 大】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 |