永发信息网

谁能帮我翻译下flash代码的意思

答案:1  悬赏:70  手机版
解决时间 2021-06-02 19:14
  • 提问者网友:沉默菋噵
  • 2021-06-02 00:43
var scancel = new Sound();
scancel.attachSound("cancel");
var sundo = new Sound();
sundo.attachSound("sundo");
var sclick = new Sound();
sclick.attachSound("click");
var sclear = new Sound();
sclear.attachSound("clear");
var shint = new Sound();
shint.attachSound("shint");
var sthrow = new Sound();
sthrow.attachSound("sthrow");
var sgo = new Sound();
sgo.attachSound("go");
var sns = new Sound();
sns.attachSound("sns");
var sgameover = new Sound();
sgameover.attachSound("sgameover");
AllHide();
AllNumDis();
_root.paupic.removeMovieClip();
_root.gameover.removeMovieClip();
_root.ScrText.removeTextField();
_root.itinfo.removeTextField();
_root.UpFan.removeMovieClip();
_root.congrauration.removeMovieClip();
_root.gamelife.removeMovieClip();
_root.alphaMask.removeMovieClip();
stop();
最佳答案
  • 五星知识达人网友:杯酒困英雄
  • 2021-06-02 00:57
var scancel = new Sound();
scancel.attachSound("cancel");
var sundo = new Sound();
sundo.attachSound("sundo");
var sclick = new Sound();
sclick.attachSound("click");
var sclear = new Sound();
sclear.attachSound("clear");
var shint = new Sound();
shint.attachSound("shint");
var sthrow = new Sound();
sthrow.attachSound("sthrow");
var sgo = new Sound();
sgo.attachSound("go");
var sns = new Sound();
sns.attachSound("sns");
var sgameover = new Sound();
sgameover.attachSound("sgameover");

====================================


以上全部都是声音创建与播放


AllHide();
AllNumDis();


=============


以上是2个自定义函数调用



_root.paupic.removeMovieClip();
_root.gameover.removeMovieClip();
_root.ScrText.removeTextField();
_root.itinfo.removeTextField();
_root.UpFan.removeMovieClip();
_root.congrauration.removeMovieClip();
_root.gamelife.removeMovieClip();
_root.alphaMask.removeMovieClip();


===============================


以上是删除主场景中的影片剪辑与文本
stop();
//播放到当前祯时停止继续播放


我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯