3 Replies Latest reply on Jun 11, 2009 11:54 AM by Cr99

    Creation_Complete event not firing for custom component

    Cr99 Level 1

      I have a component instantiated in Actionscript:


      var chartControl:ChartControls = new ChartControls();

      chartControl.addEventListener(FlexEvent.CREATION_COMPLETE, initializeChartPanel);


      ChartControls is a VBox which also has a creationComplete method:


      <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()">


      public function init():void {



          var evt:SliderEvent = new SliderEvent(SliderEvent.CHANGE,false,false,0,initWid);




      Could that be causing it not to fire?  I've never had a problem getting events to fire, but this is the first time I've tried it with a custom component.  How can I get this working?