How to make a desktop app ready for tablet

I have a flash drawing tool on desktop, and just tried to use it on a windows 7 tablet pc.
The system comes with two virtual keyboards, a bigger one that the user has to actively open, and a smaller one that offers itself near many text entry fields (such as system file dialogs)
Now with flash only the bigger one is available, and when I type into it, flash player seems to lose focus.
What would be the best way to handle this situation?
Another part of the story: would it be possible to have 3 checkboxes inside the flash app that reflect the state of shift, ctrl, and alt keys and send keypress / keyrelease events such that mouse events report correct keyboard state?

Hi,
thanks a lot - but that is one part. The other one is this:
shift and ctrl are checkbox-type elements
I have two listeners, one for the keyboard and one for mouse events:
private function key(event:KeyboardEvent):void
{   trace(event);
    if(event.keyCode == Keyboard.SHIFT)
         if(event.type == KeyboardEvent.KEY_DOWN)
             shift.checked = true;
         else
             shift.checked = false;
    else if(event.keyCode == Keyboard.CONTROL)
         if(event.type == KeyboardEvent.KEY_DOWN)
              ctrl.checked = true;
         else
              ctrl.checked = false;
When I operate the shift key, the indicator lights up, and I see
[KeyboardEvent type="keyDown" bubbles=true cancelable=false eventPhase=2 charCode=0 keyCode=16 keyLocation=0 ctrlKey=false altKey=false shiftKey=true]
Subsequent mouse events show shiftKey true
Now there is also a listener on these indicators
private function toggle(event:MouseEvent):void
{   var ck:Ckbox = event.target as Ckbox;
    ck.checked = !ck.checked;
    var kc:int;
    if(ck == shift)
        kc = Keyboard.SHIFT;
    else if(ck == ctrl)
        kc = Keyboard.CONTROL;
    stage.dispatchEvent(new KeyboardEvent(ck.checked ? KeyboardEvent.KEY_DOWN : KeyboardEvent.KEY_UP,  true, false, 0, kc, 0, ctrl.checked, false, shift.checked));
So when I click the shift indicator, it generates an event
[KeyboardEvent type="keyDown" bubbles=false cancelable=false eventPhase=2 charCode=0 keyCode=16 keyLocation=0 ctrlKey=false altKey=false shiftKey=true]
However, the next mouse event says that shiftKey is false

Similar Messages

  • How to make a desktop app launch thingy..?

    Does anyone know how to do an application launch 'thingy' which you can find on all Macs at Apple Stores?
    Basically I would like to put up similar fancy shmancy launcher on an iMac for use for clients, so that the desktop is locked and they only can launch Safari or another application.
    Hope I made myself clear

    Yes that sounds convincing.
    The "thingy" I'm talking about is similar to this:
    http://en.wikipedia.org/wiki/Quicksilver_(software)
    but it somehow nicely "embedded" into a desktop screen, so you can't move it or close it. I guess it's Apple's custom app but maybe there's similar one with the ability to lock the rest of the screen?
    Thanks

  • Will Apple make a desktop app for Beats Music?

    Will Apple make a desktop app (OS X) for Beats Music? Seems to make sense. Can Apple make THAT kind of  decision, now that the deal is done? I would love to use it when on my MBP.

    What apple will probably do is embed the streaming service into iTunes but no one really knows what will happen, or if they are going to keep the beats name for the service. They're rumors saying that apple will put beats on all iOS devices in the next iOS update so I guess we will see how they incorporate the service into their services.

  • How do I save a PDF ready for print. I have a problem with the fonts. The fonts are blurry after pri

    How do I save a PDF ready for print. I have a problem with the fonts. The fonts are blurry after printing. There is a trick in saving PDF.

    Hi el_giclee,
    Important to note from the beginning is that when you create your Photoshop document make sure you chose 300 Pixels/inch as your resolution.
    I'm interested in seeing your Save Adobe PDF dialog box after you choose to save the PDF.
    Could you post a screenshot of this dialog box with the Compression menu selected on the left side?
    It's a good idea to select High Quality Print or Press Quality in the Adobe PDF Preset menu at the top of this box. It will automatically select the best default settings for a printed piece.
    Michael

  • How to make an apple app

    How to make an apple app?
    Plz respond

    To become a developer, (that's what Apple calls people who create apps) you must have a Mac. Once you have one, download Xcode. That's the program Apple uses to create apps. (You must know how to code!) Create a developers account (create a different Apple ID for this because if you don't, every thing gets confusing) and buy the developers kit. That's it!

  • How to make Add to Favorites Option for website?

    Please Advice how to make Add to Favorites Option for the
    Website.
    Appreciated
    Thank You

    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=189&threadid =1191543&highlight_key=y&keyword1=favorites

  • How to make a Colorful Gif Image for Holi

    How to make a colorful Gif Image for Happy Holi 2014

    Okay, I know this doesn't answer your question, but don't get me wrong. A logo is meant to be the way it was designed - upright, no flipping/ swiveling animation. Why exactly do you want to let your logo turn around?
    If its to grab attention, why dont you consider animating the area on which your logo sits (header)? Or maybe add nice transitive slideshows on your main content area to add more interactivity?

  • How to make F7,F8,F10 disabled for security?

    Hi alll,
    Pls can any boady tell me ; how to make F7,F8,F10 disabled for security purposes?
    Abdetu.

    Hello Gerd
    Thanks for reply,
    i made a search for the file u mentioned
    FMRWEB; i found it on path C:\orant\FORMS60
    having the following :
    # FMRWEB.RES is the key definition file for webforms. The syntax is:
    # JFN : JMN : URKS : FFN : URFD (whitespace ignored)
    # JFN = Java function number
    # JMN = Java modifiers number
    # URKS = User-readable key sequence (double-quoted)
    # FFN = Forms function number
    # URFD = User-readable function description (double-quoted)
    # JAVA FUNCTION NUMBER
    # 33 = PageUp
    # 34 = PageDown
    # 35 = End
    # 36 = Home
    # 37 = LeftArrow
    # 38 = UpArrow
    # 39 = RightArrow
    # 40 = DownArrow
    # 65 - 90 = Ctrl+A thru Ctrl+Z (These will always have the control
    # modifier explicitly included, as well as any other
    # modifiers that might be used.)
    # 112 - 123 = F1 thru F12
    # 9 = Tab (Ctrl+I, without the control modifier)
    # 10 = Return (Ctrl+J, without the control modifier)
    # JAVA MODIFIERS NUMBER
    # Equal to the sum of the values for the modifier keys:
    # 0 = None
    # 1 = Shift
    # 2 = Control
    # 4 = Meta
    # 8 = Alt
    # FORMS FUNCTION NUMBER
    # The Forms function numbers match the function numbers found in a
    # typical Forms key binding file.
    # USER-READABLE STRINGS
    # The double-quoted strings appear when users click [Show Keys], and
    # are used for this purpose only. These strings can be translated as
    # needed. Note that the strings do not affect what actually happens
    # when end users press a particular key sequence.
    9 : 0 : "Tab" : 1 : "Next Field"
    9 : 1 : "Shift+Tab" : 2 : "Previous Field"
    116 : 0 : "F5" : 3 : "Clear Field"
    38 : 0 : "Up" : 6 : "Up"
    40 : 0 : "Down" : 7 : "Down"
    33 : 0 : "PageUp" : 12 : "Scroll Up"
    34 : 0 : "PageDown" : 13 : "Scroll Down"
    69 : 2 : "Ctrl+E" : 22 : "Edit"
    10 : 0 : "Return" : 27 : "Return"
    76 : 2 : "Ctrl+L" : 29 : "List of Values"
    115 : 0 : "F4" : 32 : "Exit"
    75 : 2 : "Ctrl+K" : 35 : "Show Keys"
    83 : 2 : "Ctrl+S" : 36 : "Commit"
    118 : 1 : "Shift+F7" : 61 : "Next Primary Key"
    117 : 0 : "F6" : 62 : "Clear Record"
    38 : 2 : "Ctrl+Up" : 63 : "Delete Record"
    117 : 1 : "Shift+F6" : 64 : "Duplicate Record"
    40 : 2 : "Ctrl+Down" : 65 : "Insert Record"
    119 : 1 : "Shift+F8" : 66 : "Next Set of Records"
    1005 : 0 : "Down" : 67 : "Next Record"
    1004 : 0 : "Up" : 68 : "Previous Record"
    118 : 0 : "F7" : 69 : "Clear Block"
    66 : 2 : "Ctrl+B" : 70 : "Block Menu"
    34 : 1 : "Shift+PageDown" : 71 : "Next Block"
    33 : 1 : "Shift+PageUp" : 72 : "Previous Block"
    116 : 1 : "Shift+F5" : 73 : "Duplicate Field"
    119 : 0 : "F8" : 74 : "Clear Form"
    122 : 0 : "F11" : 76 : "Enter Query"
    122 : 2 : "Ctrl+F11" : 77 : "Execute Query"
    69 : 3 : "Shift+Ctrl+E" : 78 : "Display Error"
    80 : 2 : "Ctrl+P" : 79 : "Print"
    123 : 0 : "F12" : 80 : "Count Query"
    85 : 2 : "Ctrl+U" : 81 : "Update Record"
    121 : 3 : "Shift+Ctrl+F10" : 82 : "Function 0"
    112 : 3 : "Shift+Ctrl+F1" : 83 : "Function 1"
    113 : 3 : "Shift+Ctrl+F2" : 84 : "Function 2"
    114 : 3 : "Shift+Ctrl+F3" : 85 : "Function 3"
    115 : 3 : "Shift+Ctrl+F4" : 86 : "Function 4"
    116 : 3 : "Shift+Ctrl+F5" : 87 : "Function 5"
    117 : 3 : "Shift+Ctrl+F6" : 88 : "Function 6"
    118 : 3 : "Shift+Ctrl+F7" : 89 : "Function 7"
    119 : 3 : "Shift+Ctrl+F8" : 90 : "Function 8"
    120 : 3 : "Shift+Ctrl+F9" : 91 : "Function 9"
    113 : 0 : "F2" : 95 : "List Tab Pages"
    72 : 2 : "Ctrl+H" : 30 : "Help"
    ------------------------------------end of file-----------------------------------------
    Now if this is the file i have How can i make F7,F8,F10 disabled for security?
    can u clarify to me how can handle this,i am afraid i may do something wrong..!!!
    But how do you want to commit without the shortcut?? What do u mean by a shortcut..?
    Thanks in advance..
    Regards,
    Abdetu.

  • How to make Safari remember my password for sites whiteout promoting me? I mean i don't want to ask me if i want to save the password or not, just save it automatically to my keychain.

    How to make Safari remember my password for sites whiteout promoting me? I mean i don't want to safari ask me if i want to save the password or not, can it just save it automatically to my keychain qhitout asking?

    No. It's a safety feature. Select the appropriate response and the next time you visit, you won't be prompted.

  • How to make mac desktop run faster . It is starting to freeze up in Safari sometimes.

    How to make IMAC desktop run faster.

    Mavericks is the Operating System, while you could call it a program it's the OS. We need to know:
    what year iMac you have including the amount of RAM installed, the capacity of the internal HD and how much is stored on it and under what conditions the computer runs slowly. Please CAREFULLY read Help us to help you on these forums

  • How to run windows store app in windows tablet

    Hi,
    I am developing an windows store app I can run my app in local machine.How can i run my app on windows tablets. I am using ASUS windows 8 tablet .How can I connect tab to my pc and run myapp in tablet.
    Thanks,
    Alok

    1) In Visual Studio, create an appx package (Project -> Store ->Create App packages -> Not for upload)
    2) Zip up the folder of the app package
    3) Send to target machine
    4) Unzip app package
    5) Right-click Add-AppDecPackage.ps1 -> Run with Powershell (must be an admin)
    6) Follow prompts for install
    7) Enjoy
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • How can I make Skype Desktop the default for Call: links in MS Outlook?

    How can I persuade MS Outlook to use Skype Desktop for Call: links (such as those for phone numbers in a Contact Card)?  Right now it is using Skype for Business to open them (I have both Skype Desktop and Skype for Business - formerly Lync - installed) and I need to use Skype Desktop by default instead. Office 365 Business (15.0.4727.1003) on Windows 8.1 Pro x64, with Skype Desktop v 7.6.whatever the latest is. Advice very welcome!

    How can I persuade MS Outlook to use Skype Desktop for Call: links (such as those for phone numbers in a Contact Card)?  Right now it is using Skype for Business to open them (I have both Skype Desktop and Skype for Business - formerly Lync - installed) and I need to use Skype Desktop by default instead. Office 365 Business (15.0.4727.1003) on Windows 8.1 Pro x64, with Skype Desktop v 7.6.whatever the latest is. Advice very welcome!

  • How to make my iphone stop asking for my friend's Apple ID?

    First question: why does apple website logs me out every minute saying "session time out" or something(i'm using chrome on iPad)..!
    Second Question: why after i typed such a big question and when i switch tab and come back to this tab, the tex disappears (both chrome and safari for iPad)?
    Before going to my actual question:
    I(from USA) have an iPhone 5 and iPad 4, and bought the same for my dad(India), He has his own apple account and mine is separate.
    I've recently send the iPhone 5 (factory unlocking it for 10$ before sending it to him- I have proof of purchase for all 4 devices)  after the 5s is released.
    Third question: Why can't I add my dad's(Indian) phone number for iMessage?
    Since I used that phone with my USA SIM card for 1 day before sending it to him, it remembered my phone number, but even after trying everything except complete reset on my dad's iPhone( since he can't manage to download all apps from scratch again) and didn't get a new sim yet, we tried everything but I couldn't make the Apple ID remember my dad's phone number..!
    Fourth question: As my laptop broke, I used my friend's Mac to check the unlock is successful or not! Now when my dad tries to install an app from AppStore from his iPhone, it asks for password of my friend's Apple ID ,
    My question is how to add his phone number and how to make it forget my friend's Apple ID
    In Apple.com> manage Id> it doesn't show my friend's id anywhere. Do I need to de-authorize from his Mac?

    Hi, I've tried a reset all, and restored from another backup(iCloud) and it stopped asking my friend's Apple ID(its been two days i've restored, and my didn't complain yet).
    next, i've already tried all the steps you said.
    my dad uses his gmail account for apple devices(same id for his iPad too), and i already checked "My Phone" number is set to my dad's phone number.
    i asked my dad to turn off iMessage and Facetime, removed the sim, reset network settings and when he inserted the sim back, it shows his number, when he turns on the iMessage and  logs in using his email, it shows my phone number..!
    i went to view account, and it redirected to appleid.apple.com and i can see his phone number in the account.
    checked the location, set to India, time zone and everything looks fine.
    But the Apple ID is remembering my number instead of registering his number..!
    BTW, can you elaborate your reply for my 3rd Question.
    I've created a contact record with his name, phone number(with country code) and email addresses.
    Now what is the next step..?
    "setup phone to register with iMessage" can you explain this.
    I'm planning to remove sim in my phone, restore it to new device, setup the required softwares etc, take an iCloud back-up and ask him to restore from that backup. Since, the Apple ID doesn't know any phone number, when he inserts sim and turns on iMessage it should register the new number..!

  • How to connect a Desktop app to a middle teir server app?

    Please tell me if i have posted this in the incorrect forum.
    I currently have a Desktop app that connects directly to a mySQL database. The persistence abilities have been really helpful since our database is still evolving. I have been frustrated by the differences in the SE persistence implementation. I have had to do some hackish things to ensure that the app retrieves the current information. I don't like connecting directly to the database from the desktop app, even though security is not a worry. I have been thinking that the best solution is to have a JEE app running that the desktop app connects to. This also would act as a sort of api for accessing our data, so if and when i create other client desktop apps i don't have to recreate the wheel. From what i gather i will want to run an application server such as tomcat or glassfish. I'm not sure if i understand why though. Since i have control of the server, couldn't i directly open ports for communication to the clients?
    Assuming that there are many ways to pass information between them, advice on the most effective would be nice. I'm guessing serializing objects for passing would be the fastest, but using something like XML, would be a lot easier to monitor.
    Although i have done a lot of reading, i'm still baffled by the EE lingo.
    EJB: kind of like a modular program that facilitates server to server communication?
    JSF: package up stuff for viewing/ running an application through a browser?
    Servlets: Mystifying, which leads me to think that they are what i'm looking for.
    Any advice would be helpful. I'm hoping that there is not some type of restriction in regards to connecting a JSE6 app to a JEE6 app. I basically want to have the best of both worlds.
    Thank you,
    Chip

    Chipper wrote:
    From what i gather i will want to run an application server such as tomcat or glassfish. I'm not sure if i understand why though.If you have a middle teir, you imply that you want frontend and a backend also, the function of the middle teir is to insolate and abstract the backend from the frontend. This is the significant difference from what you have now: client server--frontend and a backend.
    The middle tier, as you have implied, is where you put your access to your backend. And, yes, you are creating an interface to your DB there, wherein you will develop an entire API for accessing your DB. This will give you added security by not letting your clients know anything about your backend.
    Now, how do you access this middle tier? There are several options there, but a few options are:
    1 - Running direct socket communication
    2 - Web Services: code ran on the server to extend the functionality and open services on the middle tier.
    3 - Applets: code ran in the browser on client side to access the server and it's services.
    Assuming that there are many ways to pass information between them, advice on the most effective would be nice. I'm guessing serializing objects for passing would be the fastest, but using something like XML, would be a lot easier to monitor.At this point you are the only one that can answer that question: there are arguments for an against most method that could be picked. Let's take for instance an object that contains 1 usable byte of data. Is it better to serialize the object for that one byte? Send XML to a DB? Or, perhaps, just send the byte of info and synthesize appropriate key information? You have to look at what you are trying to achieve and your requirements.
    Even a scratch of the surface discussion is not possible here, let alone, a howto on implementation for your enterprise. I suggest hitting the tutorials and finding a good book.
    Do you have specific questions? Ones that can be answered in a paragraph or two.

  • How to make iPad 2 apps

    I have an amazing idea for an app but I don't know how to make one. Can you help me

    This is probably a good starting place : http://developer.apple.com/ipad/sdk/
    You should probably also register/use the developer forums : https://devforums.apple.com/index.jspa

Maybe you are looking for

  • Vendor Master - "Returns Vendor" Field

    Hello folks, I am trying to load vendor master data.  For Purchasing Data, there is a checkbox titled "Returns Vendor" (LFM1-KZRET) - indicates that a vendor return is carried out using shipping processing. I am running into problems trying to load t

  • Pause & Play Animation When i'm using movie clips- filters

    Pause & Play Animation When i am using movie clips- filters Graphic and movieclips are using for my animation When i Press the pause the movieclip animation not stopped. Any way to apply the filters on graphic I want to apply the filters for particul

  • HT1386 i can't sync some selected movies i bought in iTunes store. any reason for this please/

    I can't sync some selected movies i bought in iTunes store. Any reason for this and help please?

  • Fortune cookie app with my own custom list of sayings?

    Hi all, Is there a fortune cookie like app that will allow me to create/edit/use my own list of sayings instead of using predefined sayings? I'd prefer if the list is not exclusively stored on some web site. I want the sayings cached for offline use.

  • Modeling Query

    Hi Friends I have the following scenario I have designing and developed Billing, variable costs at company code and sales budget ODS from flat files I have to extract the data using Extractors for Sales shipping allocation, Sales Shipping allocation