<DIV>Hi all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I put some planes in the viewport in a canvas.</DIV>
<DIV>But the planes can't accept any mouse-click event from canvas.</DIV>
<DIV>I set the viewport.interative = true, material of&nbsp;each plane = true, but it dosen't work.</DIV>
<DIV>What should I do now ?</DIV>
<DIV>&nbsp;</DIV>
<DIV>/* </DIV>
<DIV>&nbsp;*&nbsp;&nbsp; In the ReflectionWall class, for each Plane setting a function</DIV>
<DIV>&nbsp;*&nbsp;&nbsp; p = new Plane(ma,_imageWidth, _imageHeight, _seg, _seg);<BR>&nbsp;*&nbsp;&nbsp; p.addEventListener(InteractiveScene3DEvent.OBJECT_CLICK, planeClickEvent);</DIV>
<DIV>*/</DIV>
<DIV>&nbsp;&nbsp;&nbsp;private var ref:ReflectionWall;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;private function init():void{</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;ref = new ReflectionWall("images/Belle.png",100, 100, 54, can.width, can.height);<BR>&nbsp;&nbsp;&nbsp;&nbsp;can.rawChildren.addChild(ref);</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;ref.camera.zoom = 50;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;addEventListener(Event.ENTER_FRAME, ref.render);<BR>&nbsp;&nbsp;&nbsp;}</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;mx:Canvas id="can" width="1000" height="750" /&gt;<BR></DIV><br><!-- footer --><br><span title="neteasefooter"/><hr/>
<a href="http://512.mail.163.com/mailstamp/stamp/dz/activity.do">穿越地震带 纪念汶川地震一周年</a>
</span>