0 Replies Latest reply on Sep 23, 2007 8:45 AM by mark416

    how to control ViewStack show?

    mark416 Level 1

      I want to know how to control ViewStack show with actionscript program

      <mx:ViewStack id="vStack" width="80%" height="100%">

      <mx:Panel id="Panel" title="Tile1" label="Tile" >

      <mx:Panel id="Pane2" title="Tile2" label="Tile" width="220" height="210">


      I try to do this

      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute" preinitialize="hidden()">
      function hidden(){
      p1.visible = "false";

      <mx:Panel id="p1" height="101" width="447" >
      <mx:Text text="hello" />


      but I can not hidden the panel.Please help me.Thanks