1 Reply Latest reply on Apr 14, 2009 9:49 AM by m_hartnett

    Which object to register for this event?

    webvalue Level 1

      Hi,

       

      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.