佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 1250|回复: 4

如何制作这种button?

[复制链接]
发表于 10-12-2004 10:22 AM | 显示全部楼层 |阅读模式
普通的button是:如果在button里set了over(放了一个movieclip), 每当mouse移到button上时,那个movieclip就会play,对不对? 当mouse移开了,movieclip马上停止。

那么现在我想要那个在button内的movieclip在mouse移开后继续play直到它本身的最后一个frame才停,那么我要怎么做才能做到这个效果呢?

谢谢!

p/s: 写得有点乱,若不明白,请告诉我, 我再整理一下我要表达的东西。
回复

使用道具 举报


ADVERTISEMENT

发表于 10-12-2004 10:38 AM | 显示全部楼层
不明白,你可以制作button为开关啊
就是按一下为开在按为关不行吗?
回复

使用道具 举报

 楼主| 发表于 10-12-2004 10:44 AM | 显示全部楼层
类似这个的(这个是当mouse移开时它不会直接别去原本的20% alpha,而会慢慢的fade去20%), 只不过我要的是当我们把mouse移开后,button里面的movieclip还是会继续play直到完。http://img118.exs.cx/my.php?loc=img118&image=d3lk.swf
回复

使用道具 举报

 楼主| 发表于 10-12-2004 01:03 PM | 显示全部楼层
接下来我要做另外一个是:

一个button内有个movieclip,但我的mouse移到button时,那个movieclip play,当mouse移开时,movieclip停在目前所play的frame。然后,当我再把mouse移到button时,那个movieclip从刚才stop的地方开始继续play。

这个要怎么做(特别是actionscript要怎么写)?谢谢!

英版:
I'm looking for a way to build this button:
a button with a movie clip inside which play whenever the mouse rollover, and when the mouse cursor move away, the movieclip stop at its current play frame, when I move the cursor over the button again, the movieclip start to play from the last stop frame.

what's the actionscript to get this result? thanks!
回复

使用道具 举报

发表于 10-12-2004 08:22 PM | 显示全部楼层
tecsun 于 10-12-2004 01:03 PM  说 :
接下来我要做另外一个是:

一个button内有个movieclip,但我的mouse移到button时,那个movieclip play,当mouse移开时,movieclip停在目前所play的frame。然后,当我再把mouse移到button时,那个movieclip从刚 ...

请见http://chinese.cari.com.my/myfor ... =214784&fpage=1
回复

使用道具 举报

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

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


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

GMT+8, 14-6-2024 05:28 AM , Processed in 0.069378 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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