close

Swishmax 也能做預載的功能

主場景取名為main

load場景取名為load

在loading場景中 需要繕打的腳本如下

onFrame (1,afterplacedobjectevents) {
    if (sceneframeloaded("main",1)) {
        gotosceneandplay("main",1);
    }
}
onframe (26,afterplacedobjectevents){
    gotosceneandplay("load",1);
}
onframe(27,afterplacedobjectevents){
    perloadedcontent();
}

網路資源 :

呂聰賢老師 :http://shopping.ahasoft.com.tw/pub/tutorial/swishmax/tutorial_b15.htm

另一個網路資源 http://www.mike.idv.tw/?p=297&cp=1

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 11 的頭像
    11

    冠霖的部落格

    11 發表在 痞客邦 留言(0) 人氣()