有人可以用一個更大的大腦給我一個線索,告訴我該如何處理這個問題 - 我將一個動畫片段加載到舞臺上的空白影片剪輯中,而我想要的是剪輯到'放大'到100%(從30%的尺寸)。在Flash CS5.5中加載一個影片剪輯
我一直在沿着這些線路(腳本安裝到空的動畫片段)嘗試:
onClipEvent(load) {
scaleAmt = 10;
this._alpha = 0;
x = stage.width/2;
y = stage.width/2;
}
onClipEvent(enterFrame) {
if (scaleAmt < 100) {
scaleAmt += 5;
this._xscale = scaleAmt;
this._yscale = scaleAmt;
this._x = x;
this._y = y;
if (this._alpha < 100) {
this._alpha += 5;
}
}
}
這幾乎做的,但在尺度上的裝訂夾裝載從左至右 - 我希望它集中擴大?
感謝:-)
所有建議吉姆
對不起 - 我不能得到該代碼的竅門進入啄 – Jimbly2