i have:
plane.addOnMouseDown(doSomething) ...
private function doSomething(e:MouseEvent3D):void{
{
If (XYZ) {
dispatchEvent(myEvent); -------> I'm dispatching
event from Plane. Is it possible?
............
}else ......
}
On May 13, 1:15 pm, Fabrice3D <[email protected]> wrote:
> just add a mouseEvent3d to it.... plane.addOnMouseDown(doSomething)
>
> Fabrice
>
> On May 13, 2011, at 12:17 PM, Baraba wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I need some help.
> > I'm trying to dispatch custom event from Plane that is dynamically
> > added to BSPtree. I'm listening for it on the view but nothing is
> > catched.
>
> > Probably I'm doing it in the wrong way couse I'm pretty new to this
> > "event flow thing". I would be grateful if someone could tell me a
> > right way to do it.