A Bug in mx:TabNavigator ? See small example here

Hi all,
Maybe it's a bug in the TabNavigator component... should I
fill a new bug in the system or is that behaviour well known?
Just compile the code attach to this message.
It's a simple application with a mx:TabNavigator and some
buttons. When you create a new tab, via ActionScript, the 1st tab
ca be automatically selected.
But when you delete all the tabs (either by calling
removeAllChildren(), or by calling subsequently removeChildAt(...)
on every tabs), you wont be able to select the 1st tab, unless you
create a second one, select the new one and select the 1st one
afterward.
Is there any workaround for this?!
I really need to find a fix now, I can't wait another
revision of the Flex framework . . .
Please someone, help me!!!
thanks!!!
P.S. It's not a bug in the attach code, anybody can try this
at home, with the same result...

This is a bug and I just checked the source.
It seems that selectedIndex remains as 0 when you remove all.
When you addChild again, it checks if the index of added children
== selectedIndex and if yes, it do not focus. The patch should
affect removeAllChildren and removeChild, by setting -1 to
selectedIndex when numChidren reaches 0.
Where do I report this bug? It's the second one I found....
Regards,
Guilherme Blanco

Similar Messages

  • User exit work with small example

    will someone show how to make user exit work with small example and sceenshot? i do not want legthy explanation /hard examples,only a stepwise example.
    points will get reward
    email:[email protected]

    Go to transaction CMOD
    Create a project called ZVA01
    Choose the Enhancement assign radio button and press the Change button
    In the first column enter V45A0002 Predefine sold-to party in sales document . Note that an
    enhancement can only be used i 1 project. If the enhancement is allready in use, and error message
    will be displayed
    Press Save
    Press Components. You can now see that enhancement uses user exit EXIT_SAPMV45A_002.
    Double click on the exit.
    Now the function module is displayed. Double click on include ZXVVAU04 in the function module
    Insert the following code into the include: E_KUNNR = '2155'.
    Activate the include program. Go back to CMOD and activate the project.
    Goto transaction VA01 and craete a salesorder. Note that Sold-to-party now automatically is "2155"

  • Need a procedure with in, out, in out parameters - small example.

    Hi Masters,
    Need a small example with 3 parameters in a procedure. How to know call by value and call by reference with out and inout parameters.
    create or replace procedure sample(x in number, y out number, z in out number) is
    begin
         pass the x value into y and z as well. and display the 3 values.   Code requried..
    end;
    Thanks a lot in adv.
    AR

    Hi,
    874273 wrote:
    Hi Masters,
    Need a small example with 3 parameters in a procedure. How to know call by value and call by reference with out and inout parameters.
    create or replace procedure sample(x in number, y out number, z in out number) is
    begin
         pass the x value into y and z as well. and display the 3 values.   Code requried..
    end;
    Thanks a lot in adv.
    AR
    I'm not sure I understand the question.
    In PL/SQL, the way to pass the value of x to another variable v is:
    v := x;
    Here, v can be an OUT argument or an IN OUT argument.  (It can be any kind of variable except an IN argument or a CONSTANT.)
    PL/SQL doesn't really have any way to display values.  For debugging, people often use dbms_output, like this:
    dbms_output.put_line (y || ' = y inside sample procedure');
    Many front end tools (such as SQL*Plus) can display the text after PL/SQL finishes.
    By default, all arguments in PL/SQL are passed by value.  To call by reference, use the NOCOPY hint, as shown below:
    SET SERVEROUTPUT ON;
    CREATE OR REPLACE PROCEDURE sample ( x  IN              NUMBER
                                       , y  OUT             NUMBER
                                       , z  IN OUT  NOCOPY  NUMBER
    IS
    BEGIN
         y := x;
         z := x;
         dbms_output.put_line (y || ' = y inside sample procedure');
         dbms_output.put_line (z || ' = z');
    END sample;
    SHOW ERRORS

  • Thread pool small example needed

    Hi friends,
    Can you please give a small example program for thread pool to understand?

    >
    Can you please give a small example program for thread pool to understand?>I don't know (whether you would understand an example - simple or otherwise).
    But why don't you help dispel the impression that you are just another lazy student, by making a start on some code, then asking a specific question, when you get stuck?

  • How to execute Struts program in jdeveloer(Oracle) with small example

    Hi,
    I want a small example on struts in Jdeveloper & how to diploy there.
    Thanks & Regards
    Rama Krishna

    Hi
    Check the link below for using jdeveloper with struts:
    http://www.oracle.com/technology/products/jdev/howtos/jsp/StrutsHowTo.html.
    I am not aware whether Jdeveloper can be used with SAP web AS , if that's  what you are looking at?
    hope this helps , <b>please mark points for helpful answers</b>
    regards
    rajeshkr

  • Small example program...

    Could someone please write me a small example program for reading in text and writing text to file? if you could write me one or point me to one thatd be great and highly appreciated! Thanks in advance!

    How to Use File Streams
    String in = JOptionPane.showInputDialog(null, inputAreaOre, "Add Ore",
                                            JOptionPane.QUESTION_MESSAGE);
    int n = Integer.parseInt(in);

  • Assign Task is assigned to a specific user but the she can not see it in her ToDo list

    Hello,
    I am currently working on the first process (after upgraded it to LC ES 2 with SP2) and try to test by routing it to the next person but the user could not see it in her ToDo list nor receive any Task email.
    I checked for the process in the AdminUI and see that it is currently assign to that user and also check the email configuration but do not see any thing wrong. I also recorded it and see it is assign to that person. I then try to re-assign it to a different person but it still does not show in the next person's ToDo list. So I go to the log file and see there is an error as below:
    00000078 UserServiceIm W com.adobe.idp.taskmanager.dsc.userservicev2.UserServiceImpl createTaskFromDialogProperties WARNING!!! You have not specified any Form TLO/DCI settings, and have not specified any input data.  This task will be created without any form.Process: 1515F/1515F, Step Name: AssignTask0
    I tried to search for the error above but could not find any thing reference to it.
    Can any one please advise on how to fix it so the user can see it in their ToDo list when the task is assigned to them.
    Thanks,
    Han Dao

    Hi
    It sounds like you have not selected anything on the Presentation & Data tab of the Workspace Startpoint/User Service.
    You need to specify:
    Your Asset (the form you want to present to the user)
    An associated Action Profile (tells the server how you want the form rendered...typically it is set to Default which uses the Render PDF Form process)
    The variable to hold your data(typically an xml variable)
    Make sure these are set.
    Diana

  • I can see and hear her, but she can only hear me. HELP!

    I can see and hear her, but she can only hear me when we iChat each other.

    Hi,
    HAS she for any reason Installed Perian 1.0.3 ?
    It is a System Preference Pane that adds several Video Codecs to Quicktime
    See this Users Tip
    http://discussions.apple.com/thread.jspa?threadID=1994557
    10:42 PM Thursday; May 21, 2009
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • I rented Pacific rim yesterday in my Apple TV and watched part of it and them stopped. Now I am checking in my mac to watch the remaining part with iTunes but I cannot see the movie here.

    I rented Pacific rim yesterday in my Apple TV and watched part of it and them stopped. Now I am checking in my mac to watch the remaining part with iTunes but I cannot see the movie here.

    Welcome to the Apple community.
    A number of people have reported similar issues recently, many appear to have found a discrepancy of some kind in their account settings and making changes to these settings or simply resetting them has resolved the matter.
    Check your account details are correct, check that you are using the correct details for Location, Region and Time Zone. You may want to change these settings and then change them back to see if that helps.
    You might also try logging out of and then back into your iTunes account (Settings > iTunes Store > Apple ID’s > Sign Out) and restarting your router. (Some have reported that after doing this, they need to check for rentals even though it may report that there aren’t any, after which rentals once again appear in the ‘movies’ feature)
    Rentals should appear under their own heading in the ‘Movies’ feature, you might also check at Settings > iTunes Store > Check For Rentals.

  • Widget background transparency problem - see my example

    I recently put up a new web site that I built in iWeb and am having a problem with a form that I inserted into the home page as an html snippet. One layer contains a quotation bubble, and over it lays the form. It appears correctly in every browser I tested on Mac and Windows except for IE7 for Windows. In IE7 a white box appears behind the form. Anyone know how I can correct this? You can see examples at http://www.rathappy.com/problem/ . The web site itself is http://www.rathappy.com .

    Thanks, I tried your fix this morning and was totally surprised when it didn't work. I was still getting a white box around the graphic. After messing with things for a while I finally gave up and put the form in a box, nixing the graphic. I made my box green and about the same size as the white one to cover it up. http://www.rathappy.com
    Yes, web design can be frustrating at times. I'm from the world of Macs where things do what they're supposed to do 99% of the time, but the reality is that we have to build for the majority: Windows IE users.
    Anyway, thanks again for trying to help me!
    Message was edited by: DebTej | Link added

  • Firefox does not display application icons. Instead I see small box outlines.

    When I run an online application, such as Horde Mail, I see no buttons, nor words that are clickable. Instead I see a small box where the button, or clickable-word, should be. The small box is rectangular, is in outline, and has four tiny characters in the middle. What are these? How do I convert them to the buttons they are supposed to be?

    Those missing icons are actually supplied by a font that is downloaded from the server (@font-face) as you can see by the little boxes that show the hex code of the characters.
    You can check the <b>gfx.downloadable_fonts.enabled</b> pref on the <b>about:config</b> page and make sure that it is set to true (if necessary double-click the line to toggle its value).
    Make sure that you allow pages to choose their own fonts.
    *Tools > Options > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"

  • Is it a bug that I'm seeing entries in the Notification Center for calendars that I've unchecked?

    I have unchecked one of the calendars in the Calendar app ... but when I pull down the notification center (either on iPad or iPhone), I still see entries for the unchecked calendar there.  I would think that notifications only happen for calendars that I'm interested in.   Is this a bug?
    Robert

    Frustrating that now as we are at iOS 5.1.1 there is still no fix for the issue.  I called Apple a little while back and the representitive made a mention as to that this was a 'feature' of the notification center and not a bug.  I think 'features' are supposed to make for better usability, not an inability to use a function.  With that said.. any workarounds?  Right now, I'm doing the following:  My brother and my wife both share their calendars with me, iCloud to iCloud.  I started two iCloud accounts, one for the intended purpose of iCloud (syncing all of my calendar events, contacts, etc.)  and one simply for their calendars to be shared to.  I've included that iCloud account only on my iPad and turned off calendars in the notification center on the iPad.  So if I want to see their calendars I can now use my iPad for that purpose. 
    Please also send a bug report to Apple if this issue is bothering you --- discussion forums are just that, for discussion. 
    Thanks for any advice you can provide about the above and for any other work-arounds!

  • Free Dreamweaver templates related to photography (fullscreen) see 2 example websites?

    Hi,
    I'm a photographer and I downloaded some Dreamweaver template packs but they are all related to usual corporates, pity enough nothing related to photography.
    Can anyone recommend templates or a template pack (freeware) related to photography?
    By this I mean almost fullscreen to present the pics as they are supposed to), examples : http://www.haringphotography.com/?splash=1 or http://www.sandernagel.nl/photo/commissioned/portraits_various/374
    I have the pictures but not the templates....
    I don't know anything about programming, it may be html or other format html5,... (as I heard that other formats will be for the future, just like flash that gets less interesting)
    This to relace my more amateurish looking free Wix website
    Maybe there are websites with free dreamweaver templates where you can see a picture of the examples ?
    Thanks!!!

    WordPress is a dynamic site.  It needs PHP and a connection to a MySql database to run.  Unless you have a local testing server (WAMP or XAMPP) installed on your computer, you won't see local content in your browser.
    WordPress consists of 800+ files in 80+ folders.  Strangely enough, none of those files are complete pages.  They are all just bits of code which the web server assembles and combines with content from the database.  In short, there are no real web pages.  WordPress is a virtual site; basically a one page site that is created on the fly by the web server.   This is a difficult concept for people who are accustomed to working with static HTML pages.
    Unless you're a skilled coder, you must not edit the WordPress core files in DW or you will break the site.   The only things you can safely edit in Code View are the Theme files:
    WP/wp-content/themes/theme_name/page.php
    WP/wp-content/themes/theme_name/header.php
    WP/wp-content/themes/theme_name/index.php
    WP/wp-content/themes/theme_name/footer.php
    etc...
    http://codex.wordpress.org/Templates
    If you're not experienced with code, don't waste time trying to modify your WP theme in DW.  Simply install WP on your server and have a go at it...
    InMotion and other reputable web hosts have apps to simplify WordPress installation.  You can invoke the install wizard by logging in to your server's C-Panel and pressing a button.
    Good luck!
    Nancy O.

  • Seeing small top portion of taskbar in CS6 full screen mode

    I don't know what changed, but i just started seeing the very top portion of the taskbar in full screen mode. It is just a thin line that gives you access to the taskbar without minimizing CS6. I did not see this a few days ago. I am running Windows 7 64 bit on a loaded PC.
    Thank you,
    Tom

    I took a screen shot, but the problem is not apparent. The taskbar is a very thin white line and open applications show as a very small white rectangle.  This enables you to acess an open application from the taskbar without minimizing photoshop. When you bring a cursor to the bottom of the screen the taskbar opens. It did not do this until recently. What I don't like is I am always opening the taskbar by mistake and have to wait for it to close.

  • Seeing Small Artifacts in my Crawls, HELP!

    Out of alittle knowledge and trail & error,
    I got my 720x486 footage to look good with EncoreDVD.
    I exported it out of Premiere with Export -> Movie. My settings are...
    - Uncompressed AVI
    - Saved as 720x480
    - Progressive
    When I insert it into EncoreDVD, I select Upper Frame under File -> Edit Quality Presents.
    How do I get the artifacts (little dots next to my crawling text) to go away? They are only displaying on my crawls. Interlacing is fine, and I see no ghosting.
    I tried turning the Optimized Still off in Premiere, but it didn't do anything.
    **** - **** - Just a side note, I found out earlier today that EncoreDVD does not transcode to 720x486, it transcodes to 720x480. It actually takes out 3 lines on top and 3 lines below.
    By doing this, it changes the fields order opposite to what it was on (because 3 is an odd number to take out). That is why I am outputting progressive through Premeire. Both Upper and Lower fields give me heavy interlacing with moving objects.
    I tried turning the Optimized Still off in Premiere, but it didn't do anything.

    Tim.
    You will almost certainly need to add a blur to the text.
    Specifically a directional blur of 0.1% in the plane your text moves in (so, for example, a vertical Blur for scrolling text from top to bottom, and a horizontal blur for text scrolling from left to right)
    Font is also critical.
    Premiere Pro loves Myriad Pro.
    All Sans Serif should be better than others.
    Watch for spacing - the premiere titler is wobbly at best, and is also prone to crashing when scrolling down the fonts list.

Maybe you are looking for

  • AVG Secure Search appears when I use Google Search from my Home page only.

    My home page is the Firefox default page with the Google searchbar. I like getting occasional messages from Firefox when I log in so I don't want to change my homepage. However, when I use the searchbar ''on my homepage only'', I get the unsatisfacto

  • Using an external non-Apple display on a MacBook Pro with Mountain Lion

    On Friday I upgraded to Mountain Lion from Snow Leopard and now I am not able to use my 23" Samsung monitor exclusively as my display. I can mirror the MacBook Pro's display, but then my HD monitor's resolution is downgraded. I used to start-up my Ma

  • Help me in resolving my problem

    when i try to send photo while chatting on mig33 from camera ,i get error microedition media .media exception, what is that problem as i am using 5310 music express

  • Change FileName File/FTP Adapter

    Hi all, I have a simple scenario File-To-File there is no mapping,so i've created it directly on Integration Directory, like this : https://wiki.sdn.sap.com/wiki/display/XI/FiletofilewithoutusingwithIntegration+Repository I've have a requirement to c

  • Sent emails not stored  in Sent Mailbox

    My outgoing emails are apparently being sent (I hear the swoosh, and spot checks with the recipients confirm the delivery,) but the outgoing emails are no longer copied into my Sent Mailbox. Any ideas, please? Thanks, Ricardo