Ahh.. I don't think you can reuse the word "variable" or certain reserved words because then flash will go bonkers :/
-Peter On Tue, Jan 13, 2009 at 7:56 PM, kat3d <[email protected]> wrote: > > 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; > } > > -- ___________________ Actionscript 3.0 Flash 3D Graphics Engine HTTP://AWAY3D.COM
