> Woahh got it working with the centrallibrary, now i can add whatever i > want, it even works with transparency ! congrats :)
when it comes to tree/mouse hittests, there are specially designed classes for this. like BSPHitTest class for instance... juts fire a ray at dir as you please. If it sounds scary to you, look in tools.utils.drag3d and reuse the part where mouse is unprojected. multiply this direction by an amount greater than your tree bounds and pass this to the hittest class. Fabrice On Feb 16, 2011, at 6:29 PM, jackflash wrote: > Woahh got it working with the centrallibrary, now i can add whatever i > want, it even works with transparency ! > > except for interaction, every button inside do not react. im using the > centrallibrary to load external .swf > it can react to mouse position, but not to action assing to buttons. > > i tried adding some eventlistener but i guess im not on the right > track... :S > do i have to plot the position of the button using mouseEvent3d ??? >
