看板 Flash 關於我們 聯絡資訊
※ 發信站: 批踢踢實業坊(ptt.cc) : ◆ From: 114.46.162.60 : 推 jeaby:換場景的語法是 gotoAndStop(frame, scene); 07/10 10:16 : → Tiphareth:你好 已經更改好了 但是還是無法顯示出結果 07/10 10:43 : 推 jeaby:是加在updateTime這個function內嗎? 07/10 11:12 : → Tiphareth:不是耶~有嘗試設過會冒出有函數定義重覆的訊息 07/10 11:20 加在原本的 updateTime 內就可以了喔 function updateTime(e:TimerEvent):void { timeNum--; txt_Time.text = timeNum.toString(); if (timeNum == 0) { /* 這邊需要移除一些事件 ex: 兩個timer事件 滑鼠事件 ... */ if (scoreNum >= 100){ gotoAndStop(1, "s3"); } else { gotoAndStop(1, "s4"); } } } -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 122.121.202.40