佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 1183|回复: 2

如何用flash mx制作一个popup message??

[复制链接]
发表于 13-8-2005 09:35 AM | 显示全部楼层 |阅读模式
我想用flash mx制作一个popup message
就像我按了quit button,
然后有个popup message出现,问我是否真的要退出...
(是在movie里面load出来的,不是另外跳出IE来开那个popup message)

能做到吗?
有谁能教教我啊~
回复

使用道具 举报


ADVERTISEMENT

发表于 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已经交上去
回复

使用道具 举报

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

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 4-12-2024 07:26 AM , Processed in 0.111642 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表