DropDownList does not work in a new window

In this code, I create a new window when I click on the button. In the new window are the DropDownList and TextInput components. When the new window opens, click on the DropDownList control is no nothing - be it clicking a second time round to get it to open. However, click in the TextInput field first and then try to open the DropDownList control works without problem.

Any reason, why this happens? Is this a bug or something I am doing wrong? This problem occurs with 4.1 Flex and Flex Hero (version Sept 2010).

Is the code below, or download the FXP here.

// DropDownTest.mxml (application)
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" 
                       xmlns:s="library://ns.adobe.com/flex/spark" 
                       xmlns:mx="library://ns.adobe.com/flex/mx"
                       width="400" height="300">
    <fx:Script>
        <![CDATA[
            private function newWindow():void
            {
                this.close();
                
                var w:MyWindow = new MyWindow();
                w.open();
            }
        ]]>
    </fx:Script>
    <s:Button label="New Window" click="newWindow()"/>
</s:WindowedApplication>

// MyWindow.mxml (component)
<?xml version="1.0" encoding="utf-8"?>
<s:Window xmlns:fx="http://ns.adobe.com/mxml/2009" 
            xmlns:s="library://ns.adobe.com/flex/spark" 
            xmlns:mx="library://ns.adobe.com/flex/mx"
            width="400" height="300">
     <s:TextInput/>
     <s:DropDownList y="30"/>
</s:Window>

Can you please file a bug in http://bugs.adobe.com/jira

A workaround is to call this after w.open ();

w.setFocus ();

-Jason

Tags: Flex

Similar Questions

  • Select CTRL or copy, does not work - using the new Windows 7-

    Using the new Windows 7, it still does not work:

    > To select the non-consecutive files or folders, press in and hold the Ctrl key and then click each item you want to select.

    There is also the same problem when you use the Ctrl key to 'Copy', rather than 'move '.

    Sometimes a reboot will fix it, but other times not. Is it an appropriate solution for the Ctrl key work properly?

    Hello

    It is difficult to imagine a particular key for only certain combinations of keys does not?

    Here are a few troubleshooting steps that you can try to isolate if all goes well the problem.

    1. start the computer Safe Mode and try to reproduce the problem. Start your computer in Safe Mode

    2. perform a clean boot, and then follow the instructions in the following article to help identify the problem.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    3. create a new user account, log in to the new account and test the issue. Create a user account

    If this step resolves the issue, is that your user account may be damaged. Replace

    your original user account.  How to fix a corrupted user profile.

    Let us know the results.

    Thank you for using Windows 7

    Ronnie Vernon MVP
  • GADMEI USB TV Tuner card does not work on the new Windows 7 computer

    Original title: usb tv card is not supported in windows 7 x 64

    Hello

    I have new office... everything works fine, the problem is with my tv usb card.

    I tried gadmei model utv882e and utv332e... no one works with my office... but in my laptop with the same version of windows, two tv cards works very well.

    I have no other problems in my pc or tv... cards all drivers are up to date.

    Here is my desktop specs:

    model of motherboard is asus b85m-k

    Hello Faysal,

    Thank you for visiting Microsoft Community.

    As described in the question, I understand that your two cards of Gadmei USB TV Tuner does not work on your Windows 7 desktop. The same card works fine on another computer in Windows 7 with the same configuration.

    I would be grateful if you can provide us with the following information to help us better understand the issue.

    1. What happens when you plug-in card TV Tuner? Your computer will detect the device? Do you have a code or a message when it fails to connect?
    2. Did you check connecting them via a different USB port?

    There may be a possibility that drivers for Gadmei TV sticks are not correctly installed on the computer. We will try these methods below and check if that helps.

    Method 1:

    First of all, I suggest you to run the following Microsoft Fixit to get the problem diagnosed and fixed automatically.

    Hardware devices do not work or are not detected in Windows

    http://Support2.Microsoft.com/mats/hardware_device_problems?WA=wsignin1.0

    Method 2:

    If the fixit above does not resolve the problem, I suggest to download the best compatible driver on the device manufacturer (Gadmei) site or contact Gadmei to get the best driver for your computer and install it.

    You can also read the article below to help update the device driver.

    Updated a hardware driver that is not working properly
    http://Windows.Microsoft.com/en-in/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    I hope this helps. Please let us know the results. Do not hesitate to write back for any further assistance with Windows, we will be happy to help you.

  • My HP Deskjet 5740 does not work on my new Windows 7

    I can't activate my HP Deskijet 5749 on this new Windows 7

    Please see: the driver for your product is included in the operating system Windows 7 Carey Frisch

  • HP Officejet 4500 G510a.-f. Scan does not work on my new Windows 8.1, printed books

    I get an error "Runtime"!

    This application has requested the execution to terminate in an unusual way.

    For more information, contact the application support team.

    I tried 4 or 5 times to download this error w/same every time.

    Hello

    I would ask you to uninstall the printer software.

    Restart the PC.

    Please, download and run the Installer printer HP www.hp.com/go/tools

     

  • RoboForm does not work with your new browser. It is very fustrating and works only with Windows Explorer. I need to reinstall the old FIREFOX program?

    RoboForm does not work with your new browser. It is very fustrating and works only with Windows Explorer. I need to reinstall the old FIREFOX program?

    RoboForm has already released a version with support for the latest version of Firefox. See http://www.roboform.com/support/news. Try upgrading to the latest version of Roboform.

  • I already have an annual subscription to the export of Adobe and Adobe track, but it does not work on my new computer (Windows 10). Help, please.

    I already have an annual subscription to the export of Adobe and Adobe track, but it does not work on my new computer (Windows 10). Help, please.

    Look under Tools.

  • Family safety does not work on a new laptop with windows 8 preinstalled

    Hello, I previously used Family Safety (FS) on my daughters netbook and it worked very well. I took my cell phone account that she does not have an account on. So for Christmas we he bought a new laptop (win8) of full size. I created myself as the admin, and him as a standard user with a different username than its netbook, and I configured FS for the new account on the new laptop. Well, I am not sure if more FS works on the netbook, but I am sure that it does not work on the new laptop to 100%. I tried over and over reconfiguring, sometimes it won't save even my applications updated. It simply doesn't get it. The only thing I can think is that, in the implementation of his account, it doesn't have an e-mail address, and I was forced to create a local account. Could it done than the FS functionality?

    Hi, I had family security to work by removing the local account that I wanted to monitor and adjust it upward with a hotmail instead of just local account. Family safety has started working immediately and exactly as expected. I always think that theres a problem when people are trying to implement local accounts. Thank you for trying to help me in any case, if I need help in the future I will contact you guys once again.

  • ASUS laptop computer: touch screen does not work after update of windows 10

    My touch screen does not work after update of windows 10 in Chrome. How can I fix it?

    Hello

    Welcome to the HP support forum. Asus and Chrome are not HP, touch screen works on my machine HP with IE, Firefox and the new browser Windows 10 called Edge. I think that you need to update to Chrome.

    Kind regards.

  • iCloud music library does not work on my new iPhone

    Hello

    iCloud music library has worked between my Mac, iPhone 6 and iPad Pro. However, it does not work on my new iPhone 7.

    When I try turn it off and on again, I do not get the merge or replace guest library that every site seems to say that I see. When I turn it on and open the music, I don't see any of the artists or songs or playlists that I added on my other devices. Occasionally (maybe 5 times), several full minutes after activating the iCloud music library, I get the error "iCloud music library can be activated. I tried using different wifi, using LTE networks and to connect it to my Mac. I tried to reboot the device when enabling/disabling iCloud music library. I also tried to use file > library > update to iCloud music library iTunes. I've been at this for about 4 hours now and am about to start rider on my hair. Any help is appreciated.

    Thank you.

    You back up iPhone via iTunes or iCloud 7?

  • Acorn TV does not work on the new Apple TV

    So disappointed that the Acorn TV app does not work with the new Apple TV we just bought. We have subscribed on iTunes and nothing happens when you try to activate the software. We can look good on the MacBook, iPad and iPhone. Verified the purchase on iTunes account and that's fine. Contact Acorn and say it is a matter of Apple.

    Strange that I have to use Chrome to even write this question. Safari and hers do not work with the Support pages. I'll send in the comments.

    I'm resetting Apple TV now. We have been with the Apple TV since version 1. I hope that we can make this work!

    How would work appletv mount 1 app on the job?

    each app to live their own lives the appletv core do not even know what applications do they just

    Use the ios network to get their content

  • Shortcut Ctrl C does not work in the main window of Firefox

    I use Firefox version 38.0.5, Windows 7
    Since the update Ctrl + C shortcut does not work in the main window of Firefox. (I can't copy text from any website using Ctrl + C).

    Click right and using the copy in the menu works perfectly. CTRL V and Ctrl X work fine without problem.

    Ctrl C works fine when copying text from the address bar and search bar, I just can't copy anything from anything in the main window of firefox.
    

    I tried to run Firefox in safe mode, I have also reset firefox and a virus scanner, but nothing has solved the problem.

    If anyone has any suggestions, that would be great. Thank you

    See:

    • bug 1173979 - copy Ctrl + C is broken in the last Irish FF 38.0.5

    Please, do not comment in bug reports
    https://Bugzilla.Mozilla.org/page.cgi?id=etiquette.html

  • Re: NB200-134 - touch FN does not work after upgrade to Windows 7 Ultimate

    My NB200-134 of FN keys does not work after upgrade from Windows 7 starter to Windows 7 ultimate. I tried to install all the drivers found on the Web from Toshiba website for my lappy but it still does not work.

    Help please

    Hi asalamk,

    The FN keys are controlled by value added and Flash Cards Support utility package. I think you forgot to install these tools

    You should recheck the Toshiba page and download these two tools. Start with the installation of the package of added value, and then restart your laptop. After this utility installation of Support Flash Cards. Reboot once again and all the FN buttons should now work correctly.

  • Podcast update does not work in the new version 12.3.3.17

    Updated, version, 12.3.3.17 and pederast, refresh, does, not, work, more., 64-bit, Windows 7, OS, ideas, about, what, I, can I, do, moreover, go, return, to the, older version,?

    I have this same problem. Windows 10, 64-bit, the latest version of iTunes. First off the coast, I'm happy that I'm not the only one with this problem. I tried to uninstall/reinstall nothing helps. What will work until a solution can be found is you login to your account and then refresh the podcasts. My problem started Monday afternoon and I could not update my podcasts while logged in since then. I also posted in iTunes Reddit forum. If I get an answer here I'll post it here. Good luck.

  • My Lenovo ThinkPad(red scroll) scroll function does not work in the new Firefox 4. It worked very well at point 3.6. Can you please fix this because it is a very important feature.

    (Middle button) scroll feature does not work on the new firefox 4. For this reason, so I need to move the scroll bar to move the page. It's very irritating problem, if you are a guy who uses the middle button to scroll. Can you if you please fix this...

    Thank you!!!

    I've updated to Firefox 4.01 today and the Center knob on my Lenovo T400 does more. I downloaded the updated Ultranav utility and the Ultranav driver for my T400 by http://www-307.ibm.com/pc/support/site.wss/MIGR-72858.html , then uninstalled the 'Thinkpad Ultranav Driver' to add/remove programs, rebooted and then installed the update utility and driver (another reboot) and now it works perfectly.

    So happy to get it working again.

Maybe you are looking for

  • How to add a hard drive to p6 - 2136b

    I recently bought a HP p6 - 2136b and I would like to add a second hard drive.  I opened the tower and it doesn't seem to be a speaker in support of several readers.  Is it possible to add a secondary drive? Thank you Joe

  • M2 and walkman Sony

    I can't update the Walkman application in my Sony M2"Makes Me not install".

  • Computer does not restart after the removal of volatile environment HKEY?

    Summary: I was trying to remove a cluttered game persistent of my programs list title so I'm in regedit (register edit) and tried to find (failure) and in the process, I deleted some other persistent games already removed under the registry 'Uninstal

  • Someone keeps hacking my cell phones and computers

    Can someone go into my computer and resume even with firewall, antivirus, I know this person and he has creditenals from microsoft that would give him the power to do. so, how can I stop microsoft get him if I gave them his letters of credence that t

  • Save a copy / save as PDF is not save to PDF

    Since the update to Illustrator 2015.3 I can not correctly save Illustrator files in PDF format.Illustrator seems to write the PDF OK, but when you view the PDF file in Acrobat it displays the text "This is an Adobe® Illustrator® that have been saved