Hi All,

Firstly, is there more appropriate place to report bugs with Flex2
other than here or the web form at
  http://www.macromedia.com/cfusion/mmform/index.cfm?name=wishform

Flex 2 beta1 - TabBar bug report.

The code below should create a TabBar with the 2nd tab selected.  The
TabBar is created and displayed but no tab is selected.

-------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml"; xmlns="*"
  creationComplete="initApp()">
  <mx:Script>
    <![CDATA[
      private function initApp():void {
        tabs.dataProvider.addItem("a new tab");
        tabs.selectedIndex = 1;  // should select 'tab 2'
      }
    ]]>
  </mx:Script>

  <mx:TabBar id="tabs">
    <mx:dataProvider>
      <mx:ArrayCollection>
        <mx:source>
          <mx:Array>
            <mx:String>tab 1</mx:String> 
            <mx:String>tab 2</mx:String> 
            <mx:String>tab 3</mx:String> 
          </mx:Array> 
        </mx:source> 
      </mx:ArrayCollection> 
    </mx:dataProvider> 
  </mx:TabBar>
</mx:Application>


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to