flash图片_旋转特效
flash图片_旋转特效
function gttEnterFrame() {
this.xx += xspeed;
this._x = a*Math.sin(this.xx)+250;
this._xscale = a*Math.cos(this.xx);
this._yscale = 100+10*Math.cos(this.xx);
if (this._xscale>0) {
this._alpha = 100;
this.swapDepths(this._parent.getNextHighestDepth ())
}
if (this._xscale<=0) {
this._alpha = 40;
}
}
if (this._xscale>0) {
this._alpha = 100;
this.swapDepths(100+sh);
}
if (this._xscale<=0) {
this._alpha = 40;
this.swapDepths(10+sh);
}
补充:flash教程,动画技术