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