Re: [問題] loading
※ 引述《Ramone (算了 就這樣)》之銘言:
: 我第第一格as是這樣寫
: var percent:Number = Math.floor((getBytesLoaded()/getBytesTotal())*100);
: loadbar_mc._xscale = percent;
: percent_txt.text = percent+"%";
: if (percent>99) {
: gotoAndPlay("s2"); 指場景2
: }
: 如果想要loading跑完後做一些小動畫再跳到場景2的主畫面
: 請問要怎麼修改?
: 跪求解答了><!
假如你前兩格是拿來做循環用的
第三格開始就可以放小動畫
然後第一格改成
if(percent > 99) {
gotoAndPlay(3);
}
小動畫結束的地方加上
gotoAndPlay("s2");
就可以了
做法不只我這種
Flash是很有彈性的 :)
--
CJ Cat = Croa'J Cat = Cockroach Cat = 西街凱特 = 蜚蠊貓 = 蟑螂貓
Gallery http://cjcat2266.deviantart.com
ptt2 Board CJWorkshop - 阿多比閃光(Adobe Flash)研討區
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.228.84.15
討論串 (同標題文章)
Flash 近期熱門文章
PTT數位生活區 即時熱門文章