1 Reply Latest reply on Nov 13, 2008 12:41 PM by tzeng

    a pretty basic question on GUI

    pranav_m
      Hello,

      A pretty basic question about Air gui, i think.....
      I want to display a component in Air, without the enclosing window. for example - i
      just want an accordion component to show, not the window containing
      it. the following code displays the Accordion with the external
      window. what changes should i make in it?

      <?xml version="1.0" encoding="utf-8"?>
      <mx:WindowedApplication xmlns:mx=" http://www.adobe.com/2006/mxml"
      layout="absolute">

      <mx:Accordion width="200" height="340">
      <mx:Canvas label="Buddies" width="100%" height="100%">
      </mx:Canvas>
      <mx:Canvas label="Family" width="100%" height="100%">
      </mx:Canvas>
      <mx:Canvas label="Co-Workers" width="100%" height="100%">
      </mx:Canvas>
      </mx:Accordion>

      </mx:WindowedApplication>