Ellipsis ... show in tab of Tab navigator

Hi guys,
I'm using a TabNavigator component with static height, width and 3  static tabs. My problem is that the Tab navigator shows ellipsis in the  label of the first tab whereas it clearly looks that it does not lack  any space in tab width. how do i rectify it?
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"  layout="absolute" xmlns:local="*">
     <local:WLTabNavigator id="tn" x="83" y="60" width="210"  height="200" paddingBottom="0"
                      horizontalGap="1" tabHeight="18"  tabWidth="{tn.width/3}">
         <mx:Canvas label="Contacts" fontFamily="Arial"  fontSize="10">
         </mx:Canvas>
         <mx:Canvas label="SMS" fontFamily="Arial" fontSize="10">
         </mx:Canvas>
         <mx:Canvas label="Calls" fontFamily="Arial" fontSize="10">
         </mx:Canvas>
     </local:WLTabNavigator>
</mx:WindowedApplication>

I think this is working as designed. Your TabNavigator is 210px wide and with three tabs you're setting each tab to roughly 70px wide (give or take a pixel for gaps). If you don't set ANY tabWidth you can see that the first tab ("Contacts") wants to be about 78px, but you're only allowing 69-70px for the label, hence the truncation.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"  layout="horizontal">
    <mx:TabNavigator id="tn1" width="210"  height="100"
                     horizontalGap="1" tabHeight="18" tabWidth="69">
        <mx:Canvas label="Contacts" fontFamily="Arial"  fontSize="10">
            <mx:Label id="lbl1" creationComplete="lbl1.text = tn1.getTabAt(0).width.toString();" />
        </mx:Canvas>
        <mx:Canvas label="SMS" fontFamily="Arial" fontSize="10">
        </mx:Canvas>
        <mx:Canvas label="B" fontFamily="Arial" fontSize="10">
        </mx:Canvas>
    </mx:TabNavigator>
    <mx:TabNavigator id="tn2" width="210"  height="100"
                     horizontalGap="1" tabHeight="18">
        <mx:Canvas label="Contacts" fontFamily="Arial"  fontSize="10">
            <mx:Label id="lbl2" creationComplete="lbl2.text = tn2.getTabAt(0).width.toString();" />
        </mx:Canvas>
        <mx:Canvas label="SMS" fontFamily="Arial" fontSize="10">
        </mx:Canvas>
        <mx:Canvas label="B" fontFamily="Arial" fontSize="10">
        </mx:Canvas>
    </mx:TabNavigator>
</mx:Application>
I think a better approach is probably to set the TabNavigator container's internal TabBar to the same width of the TabNavigator and let the tabs resize themselves to fit. This may help get you started:
<mx:TabNavigator id="tn3" width="210"  height="100"
                 horizontalGap="1" tabHeight="18"
                 resize="event.currentTarget.mx_internal::getTabBar().width = event.currentTarget.width;">
    <mx:Canvas label="Contacts" fontFamily="Arial"  fontSize="10">
        <mx:Label id="lbl3" creationComplete="lbl3.text = tn3.getTabAt(0).width.toString();" />
    </mx:Canvas>
    <mx:Canvas label="SMS" fontFamily="Arial" fontSize="10">
    </mx:Canvas>
    <mx:Canvas label="B" fontFamily="Arial" fontSize="10">
    </mx:Canvas>
</mx:TabNavigator>
Or, since it looks like you are already subclassing TabNavigator, you could possibly move the logic into your subclass instead:
package {
    import mx.containers.TabNavigator;
    import mx.events.ResizeEvent;
    public class ResizerTabNavigator extends TabNavigator {
        public function ResizerTabNavigator() {
            super();
            addEventListener(ResizeEvent.RESIZE, resizeEventListener);
        protected function resizeEventListener(evt:ResizeEvent):void {
            tabBar.width = this.width;
Hope that helps,
Peter

Similar Messages

  • Tab navigation does not show at all in FP 10 it shows in FP9

    Hi,
    I have module that is loaded at runtime,
    it has simple tab navigation with 3 children,
    in FlashPlaer 9 Debug, tab navigation shows fine, even
    thought for some reason it looks like linkbar :)
    also numericStepper looks like inputBox and ComboBox has no
    arrow, (they all look fine in FB 3.2)
    in Flash player 10 tab navigation does not show at all, is
    there any obvious thing that I am missing ?
    I am guessing something terribly wrong with flex styles, but
    I am not overriding any styles,
    my environment :
    vindows Vista 64 bit (although I use jvm 32)
    project is build with latest flex sdk :flex_sdk_3.3.0.4589
    P.S: I cant attach image here, so I will record video
    tomorrow, if that will help.
    thanks in advance
    Levan

    bump :)
    anybody , please please :)

  • Tab Navigator Tabs show Hand Cursor

    Can anyone tell me how to get the hand cursor to show up when
    rolling over the tabs on a tab navigator? Button mode works, but
    also shows hand cursor over everything, not just the tab.
    Thanks

    To use the below code you need to get a hand icon from a
    yahoo image search, or create your own. Maybe there is a way to
    access the system hand icon, that would be best:
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml">
    <mx:Script>
    <![CDATA[
    import flash.utils.*;
    import mx.managers.CursorManager;
    private var cursorID:Number = 0;
    private function setHandCursor(event:MouseEvent):void {
    var classInfo:XML = describeType(event.target);
    var cn:String = [email protected]();
    if(cn == "mx.controls.tabBarClasses::Tab") {
    [Embed(source="assets/images/cursor_hand.gif")]
    var handCursorSymbol:Class;
    cursorID = CursorManager.setCursor(handCursorSymbol);
    private function removeHandCursor(event:MouseEvent):void {
    var classInfo:XML = describeType(event.target);
    var cn:String = [email protected]();
    if(cn == "mx.controls.tabBarClasses::Tab") {
    CursorManager.removeCursor(cursorID);
    ]]>
    </mx:Script>
    <mx:WipeLeft id="myWL"/>
    <mx:TabNavigator id="tabNav"
    mouseOver="setHandCursor(event)"
    mouseOut="removeHandCursor(event)">
    <mx:VBox label="Accounts"
    width="300"
    height="150"
    showEffect="{myWL}">
    <!-- Accounts view goes here. -->
    </mx:VBox>
    <mx:VBox label="Stocks"
    width="300"
    height="150"
    showEffect="{myWL}">
    <!-- Stocks view goes here. -->
    </mx:VBox>
    <mx:VBox label="Futures"
    width="300"
    height="150"
    showEffect="{myWL}">
    <!-- Futures view goes here. -->
    </mx:VBox>
    </mx:TabNavigator>
    </mx:Application>

  • Upgraded to 23.0.1 and now bookmarks toolbar only shows open tabs and not bookmarks. How to I fix?

    Running Win 7 Home Premium. When I upgraded to Firefox 23.0.1, the Bookmarks Toolbar no longer shows my bookmarks which are in Bookmarks Toolbar but shows open tabs. If I uncheck "View Bookmarks Toolbar" the blank toolbar disappears, open tabs stay in there position. If I recheck "View Bookmarks Toolbar" a blank toolbar reopens but open tabs are on the toolbar. I tried to move a bookmark to the toolbar but all it does is open a tab of the location of the bookmark I tried to position on the toolbar.

    hello, please try to restore the default toolbar set as it's described in [[Navigation buttons like back, home, bookmarks and reload are missing]]

  • Inserting tabbed navigation code makes my web page not display in design view..

    Hi everyone..
    I am on Dreamweaver 8 for MAC, and was working on a couple of web pages..these pages included divs and tables. But when I tried inserting a tabbed navigation I found at:
    http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
    In a nutshell, it asked me for step 1 to:
    Step 1: Insert the        below CSS and script into the HEAD section of your page:
    <link rel="stylesheet" type="text/css" href="tabcontent.css" />
    <script type="text/javascript" src="tabcontent.js">
    * Tab Content script v2.2- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    </script>
    The next step was this:
    Step 2: Finally, simply add the below      HTML to where you wish the Tab Content to appear on the page:
    <h3>Demo #1- Basic implementation</h3>
    <ul id="countrytabs" class="shadetabs">
    <li><a href="#" rel="country1" class="selected">Tab 1</a></li>
    <li><a href="#" rel="country2">Tab 2</a></li>
    <li><a href="#" rel="country3">Tab 3</a></li>
    <li><a href="#" rel="country4">Tab 4</a></li>
    <li><a href="http://www.dynamicdrive.com">Dynamic Drive</a></li>
    </ul>
    <div style="border:1px solid gray; width:450px; margin-bottom: 1em; padding: 10px">
    <div id="country1" class="tabcontent">
    Tab content 1 here<br />Tab content 1 here<br />
    </div>
    <div id="country2" class="tabcontent">
    Tab content 2 here<br />Tab content 2 here<br />
    </div>
    <div id="country3" class="tabcontent">
    Tab content 3 here<br />Tab content 3 here<br />
    </div>
    <div id="country4" class="tabcontent">
    Tab content 4 here<br />Tab content 4 here<br />
    </div>
    </div>
    <script type="text/javascript">
    var countries=new ddtabcontent("countrytabs")
    countries.setpersist(true)
    countries.setselectedClassTarget("link") //"link" or "linkparent"
    countries.init()
    </script>
    <p><a href="javascript:countries.cycleit('prev')" style="margin-right: 25px; text-decoration:none">Back</a> <a href="javascript: countries.expandit(3)">Click here to select last tab</a> <a href="javascript:countries.cycleit('next')" style="margin-left: 25px; text-decoration:none">Forward</a></p>
    <hr />
    Well, I did all the steps required, but when I put this inside a div I had inside a table, all of a sudden I couldnt see anything in my design view, only two tables that arent even the same size..When I take out all this code, I get back my regular page..Can I see this tabbed navigation in my design view? Unfortunately, I dont have the spry widgets since I am on Dreamweaver 8..If I preview it in both Safari and Firefox (on Mac Firefox/3.0.8) (Safari 3.2.1) I can see everything fine, including the tabbed navigation..But designing in code isnt really helpful because I want to see what it looks like in design view, in case we change things-its just easier for me to work on..So I assume there is something in this code that is making my design view show nothing..
    Update:I tried taking out the code again, but this time, I couldnt see anything again, even without this code..
    I know that I can go to validation website, and I got a lot of errors-but all the pages I have that are in the same style have those same errors too—and they display fine..its only when I insert this specific piece of code that everything goes haywire..Is it even possible to view tabbed navigations (like the one in the above link) inside of Dreamweaver Design View?
    Any help would be appreciated..

    DW8 doesn't render any dynamic content, so I'd say it's a no go. You'll just have to live with that limitation or upgrade to CS4...
    Mylenium

  • How can I show additional tab rows when using many open tabs?

    How can I show additional tab rows when using many open tabs?

    What method (code) did you use to get the Tab bar displaying in the space used for the Navigation Toolbar (location bar)?
    The Tab bar should be displayed above the Navigation Toolbar.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Tab Navigator Problem

    Hi,
        I have a tab navigator in which i have loaded five canvas. I want the canvas to be loaded after clicking the confirm box.Please give me a code for this.
    Reagrds,
    Jayagopal P.S

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
    <mx:Script>
    <![CDATA[
    import mx.events.CloseEvent; 
    import mx.events.DataGridEvent; 
    import mx.events.ListEvent; 
    import mx.controls.Alert; 
    public var flag:Boolean=false; 
    public function test(evt:Event):void
    if(flag==true){
    evt.preventDefault();
    else
    Alert.show(
    "Do you want to navigate away from this page","Testing",Alert.YES|Alert.NO,this,Confirmfile,null,Alert.OK);}
    public function Confirmfile(obj:CloseEvent):void
    if(obj.detail==Alert.OK){
    flag=
    true;addEventListener(MouseEvent.CLICK,test);
    else
    flag=
    false;}
    ]]>
    </mx:Script>
    <mx:TabNavigator width="103" change="test(event)" id="tabone">
    <mx:Canvas label="First Canvas" width="100%" height="100%">
     <mx:Label text="First Canvas"/>
     </mx:Canvas>
     <mx:Canvas label="Second Canvas" width="100%" height="100%">
     <mx:Label text="Second Canvas"/>
     </mx:Canvas>
     <mx:Canvas label="Third Canvas" width="100%" height="100%">
     <mx:Label text="Third Canvas"/>
     </mx:Canvas>
     </mx:TabNavigator></mx:Application>
    Here i need to display the canvas only after getting the confirmation from alert.In default it shows the alert box after loding the canvas.

  • Disable hide/show of tab bar

    Most of the sample applications use a tab bar at the bottom to switch between features. This tab bar usually has a little blue button to hide and show the tab bar. Examples are the DeviceDemo and DvtGalery. For me, this feel not very iOS like and I don't want to show this button to hide/show the tab bar. For example: https://docs.google.com/open?id=0B0EvDYuyTjZzdGh3YS1YaWZrdEE
    Other sample apps, like LifeCycle do not show this button but I can't see what the difference is at design time to disable this feature. For example: https://docs.google.com/open?id=0B0EvDYuyTjZzdWNXLXJ6SVRzaDg
    Does anyone know how I can disable the feature of showing/hiding the tab bar?

    Never mind. Already found it. It's in the adfmf-application.xml which can be found in the Application Resources > Descriptors > ADF META-INF. That has a checkbox to show the navigation bar toggle button, or in XML:
    <adfmf:navigation>
        <adfmf:navigationBar displayHideShowNavigationBarControl="false"/>
    </adfmf:navigation>

  • Iview for UWL not show the tab(Taks, Alerts, Notifications, Tracking)

    Dear experts.
    I am facing the following issue.
    In the MSS for the Workset: Work Overview ,  for UWL the system not show the tab(Taks, Alerts, Notifications, Tracking), ie the system not show none tab, show a page in blank.
    My question is: What is the cause of this issue?
    Thanks in advance
    regards

    use the standard role for UWL, ie check if you are using any modified XML for uwl
    This happens if you use custom XML and hide the tabs
    Enable the support information for UWL and check in UWL administration
    check here
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq
    http://wiki.sdn.sap.com/wiki/display/TechTSG/%28UWL%29Navigationnodeca
    nnotbeselected
    If you only have the .tra and .001 files on the system (and the
    standard files) then you can proceed as follows:
    So what do we need to do to fix this?
    This is a known issue with the MSS system and the generated XML f
    However, the fix is quite simply achieved...
    For both the .001 and .tra xml files you will need to do the foll
    1. Download and save your config for both com.sap.pct.erp.mss.001
    com.sap.pct.erp.mss.tra:
    2. Open the saved version and save the file with a new name.
    Access the configuration file within the zip file and proceed to
    the following changes:
    I would like you to navigate to the following place in your XML f
    <!   Work Center UWL shows the same
    entries as Control Center UWL   >
    <NavigationNode name="root"
    view="" referenceGroup="">
    For every navigation node that has a full path assigned I would l
    you to delete up to and inclusive of the last full stop that is
    listed in the node.  Here is an example for you:
    a) first node identified is that fits the criterion above is:
    <NavigationNode name="com.sap.pct.erp.mss.Alert"
    or check here
    system admin, system config
    UWL and Workflow
    UWL adminsitration
    Click to Configure Item Types and Customize Views Using a Wizard
    Customize the look of the UWL main page
    Select the alerts tab
    Click the remove tab from current view button
    Then click save and return.  The tab is now gone from the UWL UI.

  • Highlight List (Page Tab Navigation)

    Hi,
    Im using a List in my page to swap between regions, but how can I Highlight the list for current selection.
    Im using "Page Tab Navigation" template list for the same.
    Regards,
    Benz

    Hello,
    You should be able to just set the list item to be current for say page 10 and it should show up as current.
    Carl

  • Tab Navigator Question

    I have created a <mx:TabNavigator> with a few <s:NavigaortContent> children.  On creationComplete of the applicaiton, I set the selectedIndex of the navigator, depending on the currentState.
    When I run the applicaiton, I see the correct content for the set selectedIndex, but the tabs at the top show that tab 0 is selected (so the visually selected tab does not match the content of the selectedIndex).
    Am I missing something?  I don't recall this being all that difficult of a thing to do.
    Thanks!
    Jenn

    OK - I have each navigator content labelled... Here is the code I'm using if that helps out...
    <mx:TabNavigator width="90%" height="90%" horizontalCenter="0" verticalCenter="0" id="navTabs" fontFamily="Arial" fontSize="12" change="tabChanged()">
            <s:NavigatorContent id="tnHome" label="Home" width="100%" height="100%" includeIn="administrator,default,student" >
                   <!-- my content is here -->
            </s:NavigatorContent>
            <s:NavigatorContent includeIn="default, student,administrator" label="About" width="100%" height="100%" id="tnAbout">
                    <!-- my content is here -->
            </s:NavigatorContent>
    </mx:TabNavigator>
    private function initApp():void
         if ( user.role == "student" ) {
              currentState = "student";
              navTabs.selectedIndex = 0;
              Alert.show("you are a student");
       else if ( user.role == "admin" ) {
             currentState = "administrator";
             navTabs.selectedIndex = 1;
    protected function tabChanged():void
                    switch(navTabs.selectedIndex) {
                        case 0 : //home
                            break;
                        case 1:
                            break;
                        case 2: //Courses
                            courses.getAllList();
                            break;
                        case 3: //My Training
                            //from here, we want to get get any/all registrations and history
                            break;
                        case 4: //Resource
                            courses.getAllResources();
                            break;
                        case 5: // Administration
                            break;
    So, when I enter in with the role of admin, I see the content of the About tab, but the 'selected tab' at the top is still the Home tab.   Hope that clears up my problem.
    Thanks!

  • Tab Navigation List - Current Tab

    I'm using a tab navigation list to hide/show regions on a page. When the page displays, all the tabs are showing the same way and there is no way to know what tab is current. Is there a way to change the display of tab if it is current?

    Hi,
    Edit the List you are using in the Tabbed Navigation.
    Under "Current List Entry" select "Colon Delimited Page list" and enter the page(s) in "List Entry Current for Condition" for each of the list entries.
    Regards,

  • Spry Tab Navigation not working in IE

    I have created a couple of test pages to highlight what happens and the issue I have.
    ONE: http://www.netballzone.com.au/aeasphase1handover/testCentresml.html   - navigation to specific tabs doesn't work in IE7 or 8 and all tabs content is displayed in one page and no tab navigation options available.
    TWO: http://www.netballzone.com.au/aeasphase1handover/testCentresml2.html - no way to navigate to get to specific tabs that works in IE7 or 8.
    In Webkit and Firefox all is well and the two examples show the same thing.
    The main requirements I have is to be able to navigate to specific tabs from outside of the page. I have looked at various related topics but cannot see a solution that works for me and Option ONE seems to be the closest I can find.
    As soon as I included the error I get in ONE above.   
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6.5; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET4.0C; .NET CLR 3.0.30729)
    Timestamp: Tue, 12 Oct 2010 01:33:34 UTC
    Message: 'Spry.Widget.TabbedPanels' is null or not an object
    Line: 121
    Char: 1
    Code: 0
    URI: http://www.netballzone.com.au/aeasphase1handover/testCentresml.html
    From the page outside via a hyperlink I used  <a href="testCentresML.html?tab=1#TestCentresTabs">
    Thanks in anticipation and regards,
    Mike

    If you want to choose Brunei, the URL should look like
    <a href="testCentresML.html?test=0&country=1">
    and the code for the page
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Untitled Document</title>
    <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet">
    <script src="SpryAssets/SpryTabbedPanels.js"></script>
    <script src="SpryAssets/SpryURLUtils.js"></script>
    <script> var params = Spry.Utils.getLocationParamsAsObject(); </script>
    </head>
    <body>
    <h1>Test Centres</h1>
    <div id="TestCentresTabs" class="TabbedPanels">
      <ul class="TabbedPanelsTabGroup">
        <li class="TabbedPanelsTab" tabindex="0">First Tab</li>
        <li class="TabbedPanelsTab" tabindex="0">Second Tab</li>
        <li class="TabbedPanelsTab" tabindex="0">Third Tab</li>
        <li class="TabbedPanelsTab" tabindex="0">Test Availability</li>
      </ul>
      <div class="TabbedPanelsContentGroup">
        <div class="TabbedPanelsContent">
            <h2>Countries</h2>
            <div id="CountryTabs" class="TabbedPanels">
              <ul class="TabbedPanelsTabGroup">
                <li class="TabbedPanelsTab" tabindex="0">AUSTRALIA</li>
                <li class="TabbedPanelsTab" tabindex="0">BRUNEI</li>
                <li class="TabbedPanelsTab" tabindex="0">CAMBODIA</li>
              </ul>
              <div class="TabbedPanelsContentGroup">
                <div class="TabbedPanelsContent">Content AUSTRALIA</div>
                <div class="TabbedPanelsContent">Content BRUNEI</div>
                <div class="TabbedPanelsContent">Content CAMBODIA</div>
              </div>
            </div>
        </div>
        <div class="TabbedPanelsContent"><h2>2nd Tab</h2></div>
        <div class="TabbedPanelsContent">
            <h2>3rd Tab</h2>
          <p> 333333 </p>
        </div>
        <div class="TabbedPanelsContent">
          <h2>4th Tab</h2>
          <p> 44444 </p>
        </div>
      </div>
    </div>
    <script>
    var TestCentresTabs = new Spry.Widget.TabbedPanels("TestCentresTabs", {defaultTab: params.test ? params.test : 0});
    var CountryTabs = new Spry.Widget.TabbedPanels("CountryTabs", {defaultTab: params.country ? params.country : 0});
    </script>
    </body>
    </html>

  • Resetting Grid in Tab Navigator

    I have two states in my project, say 1 and 2. In 1 there is a button which switches to state 2. In 2 I've got a TabNavigator containing several child NavigatorContent objects. In one of the tabs I have a data grid. What I'd like to do is, each time the user selects the tab containing the grid, to have the first row in the grid selected. Once in the tab they can move the highlight up and down but if they go to another tab and then come back I'd like the first row selected. If they switch back to state 1 and then come back to 2 and then select the tab containing the grid I'd like the first row selected.
    I've tried setting the datagrid's selected index to 1 from the click handler of the button in state 1 but even THAT doesn't work. I've tried setting the datagrid's selected index to 1 from a Show event hooked to the tab containing the datagrid, still no go.
    As an aside, I'd also like to have the first tab selected each time the user clicks the button to go from state 1 to 2, but I figure one thing at a time.
    Can anyone give me a pointer to the right event or method(s) to use?
    Thanks.

    I'm getting the same error when I try to manipulate the
    visible property of datagrids inside a tab navigator in Flex 3 beta
    (Moxie).
    It looks like a bug has been filed against this:
    http://bugs.adobe.com/jira/browse/SDK-11609

  • Why data are not getting poulated in dynamically added tab in a tab navigator???

    Hi All,
    I am facing a very strange problem and need you expert opinion on this. Ok so the problem goes like this:
    In my application i have a tab navigator where i have 2 fixed tabs say tab A and tab B. In tab B I have a data grid where All the user name are getting populated. Once the user clicks on any datagrid row i am dynamically adding a new tab based on username , so if in my datagrid u1,u2 and u3 are getting displayed then once you clik on u1 a new tab called u1 is getting displayed. Code for this goes like this:
    var vbox1: VBox= new VBox();
    box1.label=mydatagrid.selectedItem.uName;
    var sde:* = new searchDetails();
    vbox1.addChild(sde);
    myTabnavigator.addChild(vBox1);
    Application.application.searchdetails.displayall();
    I have created a component called searchDetails where i have designed the page wit various fields for this tab.This also has a method called displayall() which is populating the data in all fields using php an my sql where i have designed the page wit various fields for this tab.
    New tab is getting displayed perfectly. My problem is once the tab is getting displayed fields are not getting populated with data.
    Please let me know what wrong i am doing. I am really struggling

    Hmm.. you have to assign text to the labelfields on creation complete not before that, the fllow will be like this
    var vbox1: VBox= new VBox();
    var sde:* = new searchDetails();
    vbox1.addEventListener(creationcompleteevent,function);
    vbox1.addChild(sde);
    myTabnavigator.addChild(vBox1);
    function(e:event):void{
    box1.label = "text";

Maybe you are looking for

  • Streaming AVCHD MTS files to Apple TV

    I am still in search of the holy grail I think... I have yet to be able to figure out how to easily grab my MTS files from my Mac and stream them *as is* without transcoding, converting, etc on my TV. I just bought new Apple TV not for that purpose b

  • Computer Froze, lost half of songs..or did i?

    Ok so heres my problem. My ipod was connected to my computer, not syncing, just charging when my computer froze for 5 seconds or so. When it came back, i discovered that I lost half of my songs (i had around 900 now i only have 400). So i naturally t

  • Two questions - because I'm weak ...

    "Resistance is futile!" I've heard this before somewhere ... and I fear that the momentary sting of paying the $20 will be small compared to the long time enjoyment of the upgraded version. So, if and when I do make the move, I want to make sure I've

  • Why do some pages require flash player and why cant i download it and get it to work.

    i have uninstalled, reinstalled etc.  2011 MBP.  why does'nt quicktime do what flash player says it does?

  • How do i find if my product is registered?

    Hi My computer was stolen out of my car today after a break-in. I need to file a claim on my insurance to get it replaced, but need proof it was registered with apple and the original receipt. I bought it in 2009, and am having trouble accessing this