as

解決


腹減った  2007-01-11 18:58:13  No: 97612

このASの違いわかりますか?(スペース以外)
----------------------------------------------------------------
                          一つ目
onClipEvent(enterFrame) {
                     
  if (Key.isDown(Key.UP)){
    this.gotoAndStop("back");
    this._y -= 10;
                     
  } else if(Key.isDown(Key.DOWN)) {
      this.gotoAndStop("front");
      this._y += 10;
                     
  } else if(Key.isDown(Key.RIGHT)) {
      this.gotoAndStop("right");
      this._x += 10;
                     
  }  else if (Key.isDown(Key.LEFT)){
      this.gotoAndStop("left");
      this._x -= 10;
  } 
}

-------------------------------------------------------------
                              2つ目
onClipEvent(enterFrame) {
  
    if (Key.isDown(Key.UP)) {
           this.gotoAndStop("back");
           this._y -=  10;
      
      } else if(Key.isDown(Key.DOWN)) {
           this.gotoAndStop("front");
           this._y += 10;
      
      } else if(Key.isDown(Key.RIGHT)) {
             this.gotoAndStop("right");
           this._x += 10;
      
      } else if (Key.isDown(Key.LEFT)){
           this.gotoAndStop("left");
           this._x -= 10;
      }
}

--------------------------------------------------------------
わかったら書き込んでください


ガッ  2007-01-11 19:36:42  No: 97613

前々から思っていたのですが
これ(ActionScript?)はVisualBasicにどういう風に関係するのでしょうか?


腹減った  2007-01-12 02:32:33  No: 97614

問題はスペースだった orz


※返信する前に利用規約をご確認ください。

※Google reCAPTCHA認証からCloudflare Turnstile認証へ変更しました。






  このエントリーをはてなブックマークに追加