please copy your code but I send you my example code ok?
try this but, I like to see your code, for can help you.
//engine 3d
import away3d.containers.*;
import away3d.cameras.Camera3D;
import away3d.primitives.Plane;
import away3d.events.MouseEvent3D;
// tweener
import com.greensock.*;
// flash
import flash.events.Event;
var camera:Camera3D = new Camera3D({z:-600,y:25});
var scene:Scene3D = new Scene3D();
var view:View3D = new View3D({camera:camera,scene:scene});
addChild(view);
var plane1:Plane = new
Plane({width:100,height:100,rotationX:90,name:"plane1"});
var plane2:Plane = new
Plane({width:100,height:100,rotationX:90,x:150,name:"plane2"});
var plane3:Plane = new
Plane({width:100,height:100,rotationX:90,x:300,name:"plane3"});
var container:ObjectContainer3D = new
ObjectContainer3D(plane1,plane2,plane3);
scene.addChild(container);
plane1.addOnMouseDown(rotate);
plane2.addOnMouseDown(rotate);
plane3.addOnMouseDown(rotate);
function enterFrame(e:Event):void
{
view.render();
}
function rotate(e:MouseEvent3D):void
{
trace(e.target.name);
if(e.target.rotationY != 90){
TweenMax.to(e.target,1,{rotationY:90});
}else{
TweenMax.to(e.target,1,{rotationY:0});
}
}
addEventListener(Event.ENTER_FRAME,enterFrame);
2011/2/1 Peyvand Akhoundzadeh <[email protected]>
> hi all, i have a container:ObjectContainer3D .
> in container add 3 plane but MouseEvent3D.MOUSE_DOWN for this plane is not
> work.
>