1 Reply Latest reply on Apr 18, 2008 7:21 PM by Michael Borbor

    Opening a Selected Tab in a new Window.

      I have a TabBar object which is populated with a ViewStack, which consists of 7 different components (first code segment). What I want, is that when I double click on a tab, I want the component (an example of which is the second code segment) in the ViewStack to be loaded up in a PopUp or new Panel. Can anyone help me to do this?

      <mx:TabBar id="tabBar" dataProvider="{vs}" color="#000000" horizontalGap="1" />
      <mx:HRule width="100%" height="2" />
      <mx:ViewStack width="100%" height="100%" id="vs">
      <views:GeneralTab />
      <views:PartiesTab />
      <views:AttachTab />
      <views:CorrespondTab />
      <views:NotesTab />
      <views:LinkedItemsTab />
      <views:HistoryTab />

      <mx:VBox xmlns:mx=" http://www.adobe.com/2006/mxml" label="General">

      I'm only just after starting on Flex, so excuse me if this is a newbie question.