mickey6499
IS-IT--Management
This bit of code works if I publish as flash player 6, but not if I publish as flash player 7 or 8 (regardless whether I choose Actionscript 1.0 or 2.0).
if (pressv != 0) {
this.panel = this.panel + pressv;
pressv = pressv * 0.875;
if (pressv < 0.2 && -0.2 < pressv) {
pressv = 0;
}
}
theta = theta + _parent.speed;
xbit = Math.sin(0.01745329252 * theta);
ybit = Math.cos(0.01745329252 * theta);
this._xscale = ybit * this.panel;
this._x = xbit * this.radius;
this._alpha = 30 + (ybit + 1) * 50;
this._yscale = this.panel - 3 + (ybit + 1) * 3;
stack = Math.round((ybit + 1) * radius * 2);
if (stack == 100) {
stack = 101;
}
this.swapDepths(stack);
would anyone be able to point me in the right direction?
Thanks,
Chris
if (pressv != 0) {
this.panel = this.panel + pressv;
pressv = pressv * 0.875;
if (pressv < 0.2 && -0.2 < pressv) {
pressv = 0;
}
}
theta = theta + _parent.speed;
xbit = Math.sin(0.01745329252 * theta);
ybit = Math.cos(0.01745329252 * theta);
this._xscale = ybit * this.panel;
this._x = xbit * this.radius;
this._alpha = 30 + (ybit + 1) * 50;
this._yscale = this.panel - 3 + (ybit + 1) * 3;
stack = Math.round((ybit + 1) * radius * 2);
if (stack == 100) {
stack = 101;
}
this.swapDepths(stack);
would anyone be able to point me in the right direction?
Thanks,
Chris