ActionScript 3.0 とか絶対ムリwwwPart2at SWF
ActionScript 3.0 とか絶対ムリwwwPart2 - 暇つぶし2ch63:Now_loading...774KB
10/01/30 01:29:31 tkhyDsLh.net
Flash超基本的な質問スレ>>412さん
>>エンターフレームをリスナー登録して毎フレーム実行される関数を作って
>>そこからメインタイムラインを監視、制御させるんだお

public function Main(){
frame1();
var cframe:int;
this.addEventListener(Event.ENTER_FRAME,frameWatcher);
}
private function frameWatcher(e:Event):void{
if(cFrame!=this.currentFrame){
cFrame=this.currentFrame;
this["frameAction"+cFrame]();
}
}
private function frameAction1():void{}
private function frameAction2():void{}

てな感じなのでしょうか。


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch