onClipEvent(sd.onLoad){ var k = Math.round(Math.random()*50)+1;onClipEvent(sd.onLoad){ \x05var k = Math.round(Math.random()*50)+1;this._x = Math.round(Math.random()*500)+1;this._y = 100-k;this._rotation = Math.round(Math.random()*60)-29;this._height
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/07 18:12:32
onClipEvent(sd.onLoad){ var k = Math.round(Math.random()*50)+1;onClipEvent(sd.onLoad){ \x05var k = Math.round(Math.random()*50)+1;this._x = Math.round(Math.random()*500)+1;this._y = 100-k;this._rotation = Math.round(Math.random()*60)-29;this._height
onClipEvent(sd.onLoad){ var k = Math.round(Math.random()*50)+1;
onClipEvent(sd.onLoad){
\x05var k = Math.round(Math.random()*50)+1;
this._x = Math.round(Math.random()*500)+1;
this._y = 100-k;
this._rotation = Math.round(Math.random()*60)-29;
this._height = Math.round(Math.random()*150)+100;
}
我用AS 3.0总是出错不知道怎么改,我知道这是AS2.0的代码怎么改才好呢
onClipEvent(sd.onLoad){ var k = Math.round(Math.random()*50)+1;onClipEvent(sd.onLoad){ \x05var k = Math.round(Math.random()*50)+1;this._x = Math.round(Math.random()*500)+1;this._y = 100-k;this._rotation = Math.round(Math.random()*60)-29;this._height
as3 代码不能写到 影片剪辑上.
这段代码就是赋值影片剪辑的位置和角度的属性.
你可以把下面代码放到你要设置的mc里面的时间轴上:
var k = Math.round(Math.random()*50)+1;
this.x = Math.round(Math.random()*500)+1;
this.y = 100-k;
this.rotation = Math.round(Math.random()*60)-29;
this.height = Math.round(Math.random()*150)+100;