この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;
}
}
--------------------------------------------------------------
わかったら書き込んでください
前々から思っていたのですが
これ(ActionScript?)はVisualBasicにどういう風に関係するのでしょうか?
問題はスペースだった orz
ツイート | ![]() |