07/07/31 20:27:57 Vtu3qRJU
Linetoでお絵かきMC作ってます。
MC(memo)の内部に描画したいのですが、下のルートに描画されてしまいます
MC内または上にはかけないのでしょうか?
MX使用
スクリプトはMC(memo)の1フレーム目に記述
お願いいたしますm(__)m
this.lineStyle(2, 0x000000, 90);
this.onMouseDown = function() {
flag = true;
xbegin = this._xmouse;
ybegin = this._ymouse;
this.moveTo(xbegin, ybegin);
};
this.onMouseUp = function() {
flag = false;
};
this.onEnterFrame = function() {
if (flag == true) {
xpoint = this._xmouse;
ypoint = this._ymouse;
this.lineTo(xpoint, ypoint);
}
};