2012-06-14から1日間の記事一覧

イメージスライドを作成する

stop(); /* this.onEnterFrame = function(){ if(this._currentframe==1){ trace(1); prev_btn._visible=false; next_btn._visible=true; }else if(this._currentframe==7){ trace(2); prev_btn._visible=true; next_btn._visible=false; }else{ trace(3); p…

簡易型スロットマシーンを作成する

イベントハンドラーメソッドで且つ、数字の1フレーム目にstop();を入れています。 this.onLoad = function(){ this.num1_mc.gotoAndPlay(0); this.num2_mc.gotoAndPlay(0); this.num3_mc.gotoAndPlay(0); } start_btn.onPress = function(){ this._parent.nu…