佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 1073|回复: 2

急!關於flash音效問題...請問有大大能幫忙?

[复制链接]
发表于 20-6-2007 05:02 PM | 显示全部楼层 |阅读模式
我用的是flash 8 版本
然後我的問題是..

我放的音效 是頁面音效 不是按鈕音效
音效長度 :67.1s

我的頁面音效 放在scene 1
音效獨自放一個layer

然後...我播放此頁面 音效有正常操作..可是當我按下按鈕 去到scene 2的時候
scene 1的音效並沒有停止..
而且還和scene 2的音效重疊了..

請問我該如何 設定這個音效 只能在scene 1 播放
然後轉換去 別的scene 的時候自動停止呢..?

我用了stopAllsound() 指令...直接全部scene都沒有音效了...

學校的老師也不會..
無言
回复

使用道具 举报


ADVERTISEMENT

发表于 20-6-2007 06:08 PM | 显示全部楼层
1. 音效設為stream
2. 用attachSound的方法控制播放和停止, 例子看help
回复

使用道具 举报

发表于 22-6-2007 11:18 PM | 显示全部楼层

回复 #1 hong5305 的帖子

i not very understand your problem cause u wrote it in chinese.
but.

try this.

search attachSound in help.

attach all sound at the very starting (maybe a blank holder, at level0).

the sound shouldn't be attach in frame, but call with script, the script, u declara a new sound() with as in the 1st starting.

then, during your movie, you jusrt  start and stop the particular sound.

if still can't understand, message me privately, i teach you with messenger.
回复

使用道具 举报

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

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


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

GMT+8, 12-9-2025 11:59 PM , Processed in 0.119443 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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