以下是我从某教学摘录的,有些我不太明白,所以想问问:
“:”这是什么意思?是“=”的意思吗?
onClipEvent(load) {
var vel:Object = { x: 0, y: 0 };
var pos:Object = { x: _x, y: _y };
var old:Object = { x: _x, y: _y };
var radius:Number = this._width / 2;
var movie:Object = { width: 400, height: 300 };
var dragging:Boolean = false;
} |