1 Reply Latest reply on Jul 18, 2009 10:08 AM by chris.huston.t10

    one interesting question.. :)

    Phoenix_Guru Level 1

      Look at the following code:



           <view:myView1 />

           <view:myView2 />










                     private function initValues():void


                          //---------do stuff here-------------------//



      <------------------some controls here------------------------->




      The question is... I want the initValues function to be called whenever the viewstack has the myView1 as the selected item. i.e. whenever the myView1 gets displayed in the viewstack. Right now it only gets called for the first time...



      Please help me....



      Thank, Guruji..