title: how to set selected child in viewstack?
body: <p>in main.mxml :</p>
  
  <pre><code>    public function init():void
      {
         PopUpManager.createPopUp(this,login,true);
      }
      &lt;mx:ViewStack id="vs" label="content" &gt;
        &lt;local:FrontPanel id="Fpanel" /&gt;
        &lt;local:SlavePanel id="Spanel" /&gt;
        &lt;local:AdminPanel id="Mpanel" /&gt;  
      &lt;/mx:ViewStack&gt; 
  </code></pre>
  
  <p>In Login.mxml :</p>
  
  <pre><code>public function authenticateRH(event:ResultEvent):void
      {
          var replyMsg:String=event.result as String;     
  
          switch(replyMsg)
          {
              case "Master" :
                  here i want invoke Mpanel from Main.mxml
                  break;
  
              case "Slave" :
                      here i want invoke Spanel from Main.mxml 
                  break;
  
              case "fail" :
                  Alert.show("Login Incorrect!!");
                  return;
          }      
     }
  </code></pre>
  
  <p>How can i selectchild of main.mxml's Viewstack from login.mxml ?</p>