Hi everybody, I’m working on a menu for my own website. I coded it in actionscript 1 and published on flash player 6, But now I’m having trouble with this changes that have been made to actionscript 2 and flash player 7. When I tryed to publish this menu in flash player 7 it doesn’t work at all, actually I can not even recognize it. Please I need some help trying to conver this code to be publish in flash player 7. Thank you so much guys in advance.
///////////////////////////////////////////////////////////////////////////////////////
this._visible=false;
var numrotos=6;
for (n=0;n<numrotos;n++) {
newroto=“roto”+String(n);
this.attachMovie(“roto”,newroto,n+1);
this[newroto].theta=n*360/numrotos;
this[newroto].panel=12;
this[newroto].radius=135;
this[newroto].rotographic.gotoAndStop(n+1);
}
this.title.swapDepths(100);
//////////////////////////////////////////////////////////////////////////////////////
if ((_root._ymouse<10) || (_root._ymouse>380)) {
speed=speed*0.90;
} else {
speed=-_xmouse/90;
}
this._visible=true;
/////////////////////////////////////////////////////////////////////////////////////
// user transforms
if (pressv!=0) {
this.panel+=pressv;
pressv=pressv*.900;
if ((pressv<.2) && (pressv>-.2)) {
pressv=0;
}
}
// 3d transforms
theta+=_parent.speed;
xbit=Math.sin(Math.PI/180 * theta);
ybit=Math.cos(Math.PI/180 * theta);
this._xscale=ybitthis.panel;
this._x=xbitthis.radius;
this._alpha=30+(ybit+1)*50;
this._yscale=this.panel-3+(ybit+1)*3;
stack=Math.round((ybit+1)radius2);
if (stack==100) {
stack=101;
}
this.swapDepths(stack);
/////////////////////////////////////////////////////////////////////////////////
---------------------------END--------------------------------------
Thanks againg and hope to hear from you soon.