I have a program that has a VBox, and I use AS to create a pie chart using a class of my own, and then use addChild to add the chart to the VBox. Everything is fine so far. But there is a double click in the pie chart that needs to be heard in the main program. So I created a custom event class and imported it to both main program and the chart class. The event is then registered in the main program to either the pie chart instance, VBox, or "this", but trace show the action function it was registered with nevered got triggered. However, I made sure custom event class was triggered because the trace inside that class worked.
Is my description clear? If not, I can make a small program to illustrate it better.
Thanks in advance.
You need to set the doubleClickedEnabled="true" for objects that want to receive doubleClick events.
Check out the VBox documentation for VBox in Public Properties.