How to get focus on a TextInput control without mouse starting an app

Hi everyone,
I have a TextInput control and I should to be able to edit it as soon as I start my app without using mouse. My issue is to have the cursor in the TextInput without using the mouse. Unfortunately setFocus() function isn' t enough
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" applicationComplete="init()" width="100%" height="100%">
<mx:Script>
        <![CDATA[
            private function init():void {
                    myInput.setFocus();
          ]]>
    </mx:Script>
<mx:TextInput id="myInput"/>
</mx:Application>
I can't believe that it's impossible.... ....Could someone suggest to me a hint....
Thanks a lot in advance !!!
Greetings

Find it !!!!! 
"Before  you can place the focus on a component within Flash Player, you need to first  give focus to the Flash Player Application. This can be done via JavaScript."  (http://carrythezero.net/blog/2009/01/20/flex-textinput-focus-issues/)

Similar Messages

  • How to get DIVISION wise report in Controlling?

    Hi,
    How to get DIVISION wise report in Controlling? I am not trying to get Division in COPA report but i am not able to see Division Characteristic in Operating concern Data structure.
    Kindly help me - where can i get good Controlling report with Division wise? why i am not able to see the Division characteristic in COPA report?
    Thanks
    Kishore

    HI,
    Check this:
    KEA0 ->Data stucture (Display) ->Extras(Menu) -> Display fixed fields. In this pop-up you will see 'Division' (SPART).
    If this field is defined as Segment level characteristic (KEQ3), then you can build reports on this characteristic using KE35.
    Hope this helps.

  • How to get value on the table control in infotyp e0008

    Dear Freinds
                I have written a user exit ZXPADU02 for my requirement
    as per the requirement in i have calculated  wa-poo8-bet01 = wa_p0008-ansal/12 and i have passed on to the INNNN structure .
    Nowe when do a Create or Copy for a rcord in  infotype 0008  iam not
    getting value on Q0008-betrg field on the SCREEN , since it is table control how to get data on the table Control Cell .
    Please let me knlow
    regards

    Hi Syamala,
    The try to find the name of the table control and pass the values to it.
    Of course you have to loop and endloop, the table control and mofidy it from the work area.
    Message was edited by:
            Sera

  • How to get web application to use Tuscany without conflicting with SAP SDO

    Hi,
    We are attempting to run a web application on SAP NetWeaver CE 7.1 SP1 which uses Tuscany SDO.  As it now stands We must use Tuscany because the web application will not run with the SAP SDO implementation provided by Netweaver. To ensure that Tuscany is loaded with priority, we have packaged the Tuscany JAR files and their dependencies as a heavy resource, as described here:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60642a88-95fe-2b10-d387-a245d48fc257?overridelayout=true
    The final check showed that Tuscany was correctly deployed as a heavy resource and included the following JAR files:
    common-2.2.3.jar
    ecore-2.2.3.jar
    ecore-change-2.2.3.jar
    ecore-xmi-2.2.3.jar
    tuscany-sdo-impl-1.1.1.jar
    tuscany-sdo-lib-1.1.1.jar
    tuscany-sdo-tools-1.1.1.jar
    xsd-2.2.3.jar
    We also verified that the web application using Tuscany has a hard reference to the Tuscany heavy resource.
    However, when we try to run the web application, the following error is logged:  java.lang.LinkageError: Class commonj/sdo/DataGraph violates loader constraints
    The issue is definitely due to some kind of classloading conflict with the SAP SDO library, as the application runs normally when SAP SDO is manually removed from the classpath. Doing this on a production system is unfortunately not an option, though.
    So the question is: how to get web application to use Tuscany without conflicting with SAP SDO?

    I took a look at the "printerReady" example.  Looks like I may be able to use the InetPing (...) function to ping through a range of IP addresses looking for a response.
    Any ideas on how to find the MAC address associated with the IP addresses that respond?
    We may have multiple units responding and the MAC address will allow the operator to determing which unit to connect to.
    I'll try the InetPing to see how it works,
    Kirk

  • Does anyone know how to get an application you had once without using App Store?

    Does anyone know how to get an application you had once without using App Store?
    Because I'm underage and I couldn't get it back.
    I just want it back, I'm not going to use any money in App Store...

    When you say you "had it once", how did you get it then?  The App Store has only been around for a few years, so there are lots of apps out there that you would once get from the developer, but now they're only available on the App store.  Which app(s) are you referring to? 

  • :)- I canceled the update from Snowleopard to Lion by cleaning my keys ^^. Hit the wrong key i thing. Now i'm very weird ...only can start in Windows and dont know how to get my Lion Update now...Cant start in Mac OS X (Snowleopard) now :((

    Hey Folks...i'm totally ****** off !
    ^^
    I canceled the update from Snowleopard to Lion by cleaning my keys ^^. Hit the wrong key i thing. Now i'm very weird ...only can start in Windows and dont know how to get my Lion Update now...Cant start in Mac OS X (Snowleopard) now
    Please tell me what i have to do know
    greets
    < Edited By Host >

    Hello fuchs (guess), If you cancelled while downloading the 4GB Lion, no problem, download again. Snow Leopard should run (start holding the option key).
    If you cancelled during the install process, I do not know. In this case you could try to start with the CMD + R keys pressed, and choose the restore, which may work if the creation of the restore partition of Lion has finished.
    If that does not work, reinstall Snow Leopard with the CD (start holding the C key), after that download the Combo Update 10.6.8 to update the Snow Leopard completely, then redownload Lion (App Store, click "purchases" while holding the Option Key, find Lion, click "install"). If you want to have your own copy of the Lion installer, you have to copy the installer to a Memory stick or burn to DVD before you install, see else where.
    Lex

  • HT4007 Already have Aperture 3 license, how do I install it on another Mac without rebuying it from App store?

    Already have Aperture 3 license, how do I install it on another Mac without rebuying it from App store?

    As you can see from all the replies to your question if you are not clear in describing the situation it is very difficult to try and help you.
    So first how did you originally purchase Aperture? App Store, DVD or Unlocked Trial version.
    If you purchased it from the App store if you log into the App Store with the same Apple ID you used to purchase Aperture then you will be able to install it on other systems besides the one you originally installed it on. Even though the button says Purchase you will not be charged again as lolongnd as this is the same Apple ID you used the first time.
    If you installed from DVD or Trail unlock post back.

  • How to get JUTextFieldBinding for a textfield control

    Hi Shailesh,
    I tried for couple of days to figure out how to get the textbinding for a JtextField. I want to use the setValueAt method on JUTextFieldBinding as you suggested.
    Also I need full documentation on Jedeveloper. I downloaded JDeveloper documentation from OTN (130MB) but it contains XDK, Forms, Reports etc but not Jdeveloper.
    Regards,
    Mahendra

    If I want to call the setDataValue method so that the binding will update the control's model AND the attribute, I need the JUTextFieldBinding object. How do I get that from the control? It seems the only way to get it is to keep a reference to the generated JUTextFieldBinding object from the panelBinding.bindUIControl method. Is there a better way?

  • How to get my Drobo FS to mount in Mountain Lion Server.app

    Hello Everyone,
    Thanks in advance for the help. I am struggling with getting my drobo fs connected to my AE to show up in the server.app. I want to use my drobo fs as a mass storage device for the server since the server has a small hard drive. But I cannot seem to figure out how to get it to show up when I try to start the time machine service or include a folder on the drobo in the file sharing service. Does the server.app recognize or see network drives? The drobo connects as a server to the ML server, do I need to install drobo dashboard to get the server to see it as something else? I tried to create a share with the time machine option to see if it would mount as a local drive but it only mounts as a local. I think I'm on the right track, server.app only sees local drives but is there a way to get it to see my network drobo fs? Also, can I connect the drobo to the server (forgive me if this seems confusing), my mac mini via a thunderbolt to ethernet adapter? Would a direct connect change the way the mini mounts the drobo thus enabiling server.app to see the drive as local?
    Thanks again for the help....
    Also, when the drobo is connected to the AE it is assigned an ip 10.0.1.2, I connected it to my mac mini and the mac mini to my AE via wifi and the server.app had a fit because the ip addresses changed. I was unable to get the drobo to mount. I could reset the drobo as I do not have that much information on it. I could backup the drobo and restart anew which, I think, would allow the mac mini to create an ip for the drobo.

    I guess in another forum that I posted this the question is not clear.
    I want the drobo which is basically a NAS to show up when I try to implement the time machine service in the server.app. I have the drobo mounted and all is working fine but when I try to implement time machine in server it only shows me my internal (local) drive and not the drobo. I am wondering if it is due to the drobo connecting to the mac as a server itself (ip address assigned). Would an adapter help me with this? Such as a thunderbolt to ethernet adapter or ethernet to USB 3.0? would that create another ethernet connection on the mac or could I get the mac to see that connection as it is a USB or thunderbolt connected drive?

  • How to get the sum in appropriate column without a red triangle appearing?

    Hello,
    In 'Numbers" - How do get columns to add (calculate) the sum in each decending column on an Expense Report.
    When I highlight the decending column the total appears on the far left of the screen.  When I drag the sum amount from there to the appropriate column a red triangle with an ! appears instead of the amount.
    Thanks for your immediate help.

    The red triangle is an Error triangle. Clicking it will display the error message and tell you what error has occurred. From your description, my assumption is that you dragged the SUM() function from the quick calculations at the lower left and dropped it intto a cell in the column being summed.
    If that's the case, this is likely the error message you would see:
    When you highlighted the 'decending column,' you likely selected all of the cells in that column, including the one into which you dropped the function.
    Instead, do one of the following. These assume the column you want to sum is column B.
    If you want the sum at the top of the column:
    Make sure the row you want the sum to appear in is a Header row.
    Enter this formula into any Header Row cell in column B:   =SUM(B)
    If you want the sum at the bottom of the column:
    Add a Footer row to the table. (Go Table (menu) > Footer Rows > 1).
    Enter this formula into the Footer Row cell in column B:   =SUM(B)
    SUM (and other functions) that expect a range of cells will interpret a cell reference entered using only the column letter (B) as meaning 'all of the non-header, non-footer cells in column B', and will exclude those cells in header or footer rows.
    Regards,
    Barry

  • How do get video to hdmi TV port without using apple tv?

    My new non retina macbook pro 13 inch is supposed to arrive soon.  My old 42 inch Vizeo only has one hdmi port that works so I was planning to use it a s moniter  for  my DAW.  The apple tv is for the living room, not the room where my DAW is.  But as far as I can tell there is no mini display or anything on this computer other than thunderbold , usb and  firewire, the firewire to be used for my MOTU audio interface. Any ideas on how to get this old  VIzeo  to be external moniter basically

    Take a look at this;
    http://support.apple.com/kb/HT4241
    There's some additional links in there to the products themselves. Will allow you to connect it to the HDMI port on the TV and not have to use the Apple TV.
    Regards,

  • How to get acknowlgmnt from EFT (debt card swap) machine from swing app.

    Hi,
    Please some 1 let me know how to get acknowlegdement from EFT ( debit card Swap) machine once it is connected to the computer.
    I have a code which seems to have no errors ut it I am not sure whether the EFT machine will be able to send or recieve the data once the car is swaped. because i dont know what is the response of the EFT machine when connected to the computer though a java swing class.
    I know it will be quite tidious job for you to go through my program but this is all i can do...or atleast give me a link where i can refer to such case.......I am using eclipe Ide....and have searched alot on google too......

    Vish_1x1 wrote:
    Hi,
    Please some 1 let me know how to get acknowlegdement from EFT ( debit card Swap) machine once it is connected to the computer.What do you mean by "acknowledgement"? You realise it needs some sort of authorising host in order to authorise, right?
    I have a code which seems to have no errors ut it I am not sure whether the EFT machine will be able to send or recieve the data once the car is swaped. because i dont know what is the response of the EFT machine when connected to the computer though a java swing class.Mumbo-jumbo
    I know it will be quite tidious job for you to go through my program but this is all i can do...or atleast give me a link where i can refer to such case.......I am using eclipe Ide....and have searched alot on google too......Where did you get this "EFT machine" (whatever that is)? Do you mean a card reader? An EMV terminal? A PDQ? What? Where did it come from? Start there. If you need to get this thing working, you must be part of an enterprise, which has access to resources such as hardware vendor support, merchant banking services and EFT software vendors. If you're not, then you might as well abandon all hope of using this machine to take cards on your own, because you can't. End of story
    And, no, nothing to do with Java

  • How to get sideload product key in order to deploy windows store app into Windows 8 pro and windows RT

    From where can i get the Windows 8 sideload product key and the process how to get it .please explain in detail .

    I was able to resolve my issue once I worked with Microsoft Professional Services.  Here are the steps needed to deploy a Windows 8 Store app for anyone else looking for help on this.
    Create your app package in Visual Studio
        https://technet.microsoft.com/en-us/windows/jj874388.aspx
    Create an app certificate using PowerShell as administrator, here is one way to do it.
        https://msdn.microsoft.com/en-us/library/windows/desktop/jj835832%28v=vs.85%29.aspx
    Install the app on the device
        https://msdn.microsoft.com/en-us/library/windows/desktop/jj835832%28v=vs.85%29.aspx
    Ensure Device has the correct GP settings
        http://blogs.technet.com/b/scd-odtsp/archive/2012/09/27/windows-8-sideloading-requirements.aspx
    Install the application on the device
        Refer to Sideload the app for user section
        https://technet.microsoft.com/en-us/windows/jj874388.aspx
    * If you run your app now you should get an error, this is because you have not installed a Sideloading Key
    And the missing piece of the puzzle What is a Sideload key and how can I get one?
    * Documentation on this is confusing so here is what I needed to know and found out
        Sideload key is a product key that is needed to be added to the device so that it can use Windows 8 apps that are not from the Store
        It is not a requirement to have the machine joined to the domain or have Windows Enterprise installed on it. In my case my target was a Windows 8.0 Pro tablet.
        You do not need Windows 8.1 to use sideloading it will work on Windows 8.0 as well
        You can purchase a key from a Third Party Distributor but you will need to know what to ask for
        Ask for a Windows 8 Sideloading Key, Sometimes referred to as a Windows 8 Embedded Sideloading product key
        They cost about $100.00 a pop but they sell them as a Volume License so the minimum you can by is 5.
        However in my case it turned out that my company had an Enterprise Sideloading License, I just needed to know who to ask and what to ask for.
        Once you get your xxxxx-xxxxx- Slideloading key from the distributor here are the steps to installing it on the device (Section 2 Step 3)
        http://blogs.msdn.com/b/micham/archive/2014/05/30/sideloading-store-apps-to-windows-8-1-devices.aspx
    Once I installed that my application worked.

  • My computer broke down and i needed to install everything new. t now all my music is only on my ipod classic. does anyone have an idea how to get it back to my computer without deleting it from the ipod?

    my computer broke down and i needed to install everything new. now all my music is only on my ipod classic. does anyone have an idea how to get the music back on the computer without deleting it on the ipod?

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • How to get ipod out of recovery mode without losing media.

    i tryed to update my ipod on another computer and it put it in recovery mode.how do i get it out of recovery mode without losing media.

    If this program does not work then you will have to restore.
    RecBoot: Easy Way to Put iPhone into Recovery Mode

Maybe you are looking for

  • How to populate a field from database through personalization

    I need to populate value of a field from database on self service transaction web page. This field is not configured as EIT or SIT, nor available in seeded transaction.I need to know abt creating some item through personalization where i can write a

  • Win7 - Audigy 2 ZS - CMSS

    Win7 - Audigy 2 ZS - CMSS7 Hello everyone, Before you all start thinking, ohh he just registered to get what he wanted, yes your right, thats what i have done. I installed Windows 7 Ultimate 32-bit on my computer today, before installing Windows 7 i

  • How do I reverse the displays?

    I see how to rearrange the displays but how do I reverse them?

  • Urgent-Backtracking of G/L in MIRO

    Hi Can anybody tell me how can I backtrack that from where G/ls are captured when we do "Simulate" in MIRO. I want to backtrack G/L of cenvat clearing acct. So from where should I get G/ls which are captured in MIRO.

  • Requisites for invoice consolidation

    Hi Experts, I have a requirement from client. Client wants me to configure for consolidated invoice for its customer. For ex. ABC is the customer of my client. ABC wants invoice to be created at the end of every month for all its sales orders and del