查看: 1171|回复: 2
|
如何用flash mx制作一个popup message??
[复制链接]
|
|
我想用flash mx制作一个popup message
就像我按了quit button,
然后有个popup message出现,问我是否真的要退出...
(是在movie里面load出来的,不是另外跳出IE来开那个popup message)
能做到吗?
有谁能教教我啊~ |
|
|
|
|
|
|
|
发表于 19-8-2005 04:21 PM
|
显示全部楼层
我的solution是:
1. open a new layer. (make sure it is on top of other layers)
2. in that layer, create a popup menu movieclip, which contain a confirmation message, "yes" button and "no" button.name it as "msgpopup"
3. in the first frame of that movieclip, key in this code:
this._visible = false;
4. yes button code:
on(release){
fscommand("quit",true);
}
5. no button code:
on(release){
this._visible = false;
}
6. your quit button, type in this code:
on(release){
msgpopup._visible = true;
}
hope it help |
|
|
|
|
|
|
|
楼主 |
发表于 20-8-2005 01:50 PM
|
显示全部楼层
太感谢了,我学起来了
可惜我太迟看到这个回复了...assignment已经交上去 |
|
|
|
|
|
|
| |
本周最热论坛帖子
|