2 Replies Latest reply on Jul 19, 2010 7:59 AM by rexdtripod

    Initializing Sequence

    daslicht Level 2



      Lets say I have the following (just scematic code):


      <s:Application creationComplete = 'constructor()'



                     public function constructor():void


                         // initialize data models here








      How could I define, that the view components are only created after the models are fully created?


      At the moment the constructor calls some functions, but before they are ready, the view is created.


      If I now how some components in the view which wants to be bound to a model, the binding points to a null object.