I get a many error messages... but can't see what I'm doing wrong,
please help


var plane:Plane = new Plane ({material:"Riviera_vert_bottle2.png"});

plane.y = 50;
plane.x = 30;
plane.z = -100;
plane.width = 602/1.2;
plane.height = 800/1.2;
plane.rotationX = 90;
plane.segmentsW = 4;
plane.segmentsH = 4;



plane.addOnMouseDown(variable);

variable(e:MouseEvent3D):void
{
        plane.x -= 15;
}

Reply via email to