游客:
注册
|
登录
|
会员
|
搜索
|
帮助
KCDDP ADV综合创作站
»
技术发布区
» YesNoDialog.tjs图片窗口版(不支持半透明)
‹‹ 上一主题
|
下一主题 ››
12
2/2
‹‹
1
2
投票
交易
悬赏
活动
打印
|
推荐
|
订阅
|
收藏
标题:
[插件]
YesNoDialog.tjs图片窗口版(不支持半透明)
全局变量D
亲友
UID 14
精华
1
积分 1262
帖子 719
阅读权限 50
注册 2006-12-20
#11
大
中
小
使用道具
发表于 2011-11-21 19:33
资料
短消息
加为好友
格式范例:
一般的按钮,三张图:
一般:
按下:
选中:
YESNO里需要用到的按钮,一张图:
一般按钮_1.png
(3.24 KB)
2011-11-21 19:33
一般按钮_2.png
(3.27 KB)
2011-11-21 19:33
一般按钮_3.png
(3.26 KB)
2011-11-21 19:33
联排按钮.png
(3.45 KB)
2011-11-21 19:33
全局变量D
亲友
UID 14
精华
1
积分 1262
帖子 719
阅读权限 50
注册 2006-12-20
#12
大
中
小
使用道具
发表于 2011-11-21 19:55
资料
短消息
加为好友
使用普通按钮的方法:
还有,第二个办法是:
在一开始的
var yesButton; // [はい] ボタン
var noButton; // [いいえ] ボタン
这两行后面,加入:
var tempLayer;
property temporaryLayer
{
// ワークエリアとして一時的に使用できるレイヤを返す
getter()
{
if(tempLayer === void)
{
tempLayer = new KAGLayer(this, primaryLayer);
tempLayer.name = "一時ワークレイヤ";
}
return tempLayer;
}
}
然后再采用
add(noButton = new ButtonLayer(this, primaryLayer));
noButton.loadButtons("normal", "over", "on");
的方式来处理按钮。
12
2/2
‹‹
1
2
投票
交易
悬赏
活动
KCDDP ADV综合创作站
Kirikiri/KAG区
> 基础技术区
> 高级技术区
> 技术发布区
> KAGeXpress
> THE NVL Maker
创作区
> 龙泉乡
> [Hollowings]紫罗兰
> 栖梦街的小广场
> 奇亚拉
> 美术馆
> 遗忘书之墓
> 壁炉厅
综合区
> 三月兔亭餐厅
> 凤凰星
清除 Cookies
-
联系我们
-
[Key Fans Club] the Council of Doujin-game Development and Promotion
-
Archiver
-
WAP
界面风格
----------
默认风格
iuv2_blue
天高云淡
Powered by
Discuz!
5.5.0
© 2001-2006
Comsenz Inc.
Processed in 0.023224 second(s), 10 queries , Gzip enabled
粤ICP备05060595号
[ 当前模板 - 天高云淡
v
设计制作 -
七星论坛
v
请使用1024*768或以上分辨率浏览本模板 ]
控制面板首页
编辑个人资料
积分交易
公众用户组
好友列表
基本概况
流量统计
客户软件
发帖量记录
论坛排行
主题排行
发帖排行
积分排行
在线时间
管理团队
管理统计