I’ve been converting F6 AS1 to AS2 F8. It was more straight forward that I thought. But some things stick out like a rusty nail.
Can anyone see anything here?
Code1: This code displays x/y/z co-ords, as well as presenting a top down view of the 3d space. However the top down code doesn’t work.
this._parent.dyntbeX.text =" x "+(Math.round(this.cam.x/2))
this._parent.dyntbeY.text =" y "+Math.round(this.cam.y)
_root.slider.xId._x = (Math.round(this.cam.x/10))
//trace(_root.slider.xId._x)
_root.slider.zId._y = (Math.round(this.cam.z/55)+10)
Code2: This code recalls itself creating MCs which full size images later load into. However the code only runs 1 time.
z=0;
function startload() {
trace("in2_big");
endPoint.squirrel[z]._parent.fart.text = this.wordList[z];
_root.bigpreview.picture.attachMovie("test0", "img"+z, 10*z);
z = z+1;
trace("Z"+z +"T"+total)
if (z<total) {
_root.startLoad();
}
}
Thanks.