No MouseEvent3D event dispatched by the SegmentSet class?

Software: Away3D 4.x

hiroalex, Newbie
Posted: 30 November 2011 01:16 AM   Total Posts: 15

Hi,

It seems that no MouseEvent3D events are dispatched after any Mouse interaction on a LineSegment within a SegmentSet object. (even with _segmentSet.mouseEnabled=true;)  Is that normal?
How can I do to handle mouseEvents on a Line Segment???
Thank you very much,

Alex

   

Marcos Neves, Newbie
Posted: 01 December 2011 11:50 AM   Total Posts: 6   [ # 1 ]

I believe it is not possible. LineSegment extends Segment. The Segment class does not extend EventDispatcher. This class is necessary to trigger any event. See the Sphere Class, if you look inside each extends you find the NamedAssetBase class. You can see that it extends EventDispatcher.

   
   
‹‹ Z sorting problem ?

X

Away3D Forum

Member Login

Username

Password

Remember_me



X