Control animation with keyboard

http://java.sun.com/products/java-media/2D/samples/suite/Image/DukeAnim-pi.html
Is there anyway that one could control the movement of something like this (the walking thing) with wasd or the arrows???
Thomas

duplicate post:
http://forum.java.sun.com/thread.jspa?threadID=616859&tstart=0

Similar Messages

  • How to control animation with touch

    Hello! I need some help with controlling animations with touch. I am building a fake app and need to 'unlock' an iphone (slide an arrow along a track and then have it fade into another page). I have been using http://forums.adobe.com/message/4865693 that thread. The prototype link listed there is similar to waht I need to recreate, but I think I need an 'on touch' actino instead of a mousemove one.
    http://assets.ordienetworks.com.s3.amazonaws.com/the_occasional/checkerPro/checkerPro.html
    That is a link to the Edge file I have been working on, using the info in the thread above. It is broken at the moment, and I am terrible with javascript and have no idea how to move forward. I have figured that I'll need an 'on touch' action instead of the mouseover one, but I'm not sure how to build it.
    If there is a working example of this on a different thread that I've missed I'd love a link as well!!
    Thank you!!

    Hi, akall-
    There are a number of touch events that you can use to accomplish what you want.  You can try using the touchmove event instead of the mousemove event, and stick your code in there.
    Hope that helps,
    -Elaine

  • Can't control iTunes with keyboard after 10.5 update?

    Hi everyone.
    I run Win7 Ultimate x64 and have a Microsoft Wireless Laser Keyboard 6000 v.2
    The keyboard has a row of buttons along the very top to control media players; play/pause, skip between tracks, etc.
    Up until I updated to iTunes 10.5, I was able to use those buttons to pause and skip between tracks in iTunes, but iTunes didn't have to be my active window - I could be, say, composing this post with iTunes playing, but minimized to the task bar, an hit a keyboard button to pause or skip forward.
    I can no longer do that - I now have to actually go to the iTunes window in order to control it, or hold my mouse over iTunes in the task bar and I get a little back/forward/pause button that I can use to skip.
    In any case, this is extremely annoying and I'm wondering if anyone else has encountered this issue and if there are any workarounds.
    Thanks

    rageboy04,
    For issues with third-party software (software not made by Apple in this case), that interacts with Apple software, I would recomend contacting the maker of that application.
    Often with any application that controls another application, whether it is iTunes or anything else, when one is updated, the other needs to be updated as well.
    Thank you,
    Nathan C.

  • Controlling animation with the movement of a mouse

    I know there are ways to control videos and swfs with the actions of a mouse in Flash Catalyst. But how can you set it so that the swf animation will go back and replay from the beginning once the mouse moves anywhere on the trigger? My animation plays once on rollover (which still does not suffice) but then stays on the last frame when I try to trigger it once more. Any Ideas?

    I'm actually curious about an answer to this question as well. I have rollover slidelets that will expand a tab when activated, but once the rollover has been completed, and a users mouse leaves the rollover area, it does not return to the original state, but instead the tab remains expanded. Is there any way to return an object to its original state once the mouse leaves the rollover area?

  • Tree control tag with keyboard

    I'm using a tree control and navegating with the keyboard arroy. When a choose a specific tag, i do a double click and call for a subvi. I need do the same thing when i press Enter Key, but the event Key Down don't return the tag of the tree control like the event Double Click. There's a way to do this with the keyboard?
    Thanks for the help.

    You could simply read the tree control's value:
    Message Edited by smercurio_fc on 06-05-2007 02:40 PM
    Attachments:
    Example_BD.png ‏5 KB

  • Control surface with keyboard controller

    I'm fairly new to Logic and sequencing (but not Macs) so I'm on a steep learning curve.
    I set up Logic with a Yamaha 01x as an interface and control surface. That's working o.k (after some dramas). I play software synths with an Edirol PCR controller keyboard. What I want to do dedicate the 01x to sequencer and mixing duties and assign the keyboard knobs and sliders to soft synth controls, (preferably globally - as in not plug-in by plug-in). When I try to use the learn function on a soft synth it doesn't want to take the assignment. It flashes the name of the keyboard briefly then reverts back to the name of the 01x port. I'm thinking it has something to do with the fact the keyboard is a separate USB midi interface. Whatever it is, I don't know where to find a set-up page for the keyboard or the combination of the keyboard and the 01x. Funny thing is, setting up my keyboard is so easy in MainStage which is part of the same software suite.
    I can't find anything in the manual that deals with this sort of hardware controller combination. Any help would be greatly appreciated.

    I still can't get this working so I am posting some more information in case someone can see a glaring hole in my logic (pun definitely intended).
    I have tried setting up controller assignments in both the Logic preferences and by the learn function within the plug-ins. My keyboard is a USB MIDI interface but it is not seen as a control surface by Logic. (As you say, Bee Jay, that's a good thing). It is sending out notes and controller messages on its own discrete port, port 1 (of two), channel 1. The synths in MainStage can see my keyboard and my control surface just fine. I can't see why it should be any different with Logic? Certain controllers always work (pitch bend, mod wheel pan volume and aftertouch). I have not been able to assign any of the other controls of any soft synth. Even if I set the soft synth destination to receive a source I know the keyboard is putting out (I can see it on the transport bar input display), it still doesn't work the control. I've tried deleting all "learned" controllers and starting again - Many times now.
    Needless to say, I'm getting to that stage. . .

  • Controlling sliders with keyboard cursor

    I don't know whether this is trivial or not but does anyone know how to control the sliders with the cursor keys? e.g. up-down cursor for up-down slider left-right for left-right slider.

    Give the control focus (Using TAB key)
    the SHIFT and arrow (UP)
    Interestingly its the same for both sliders
    (Ergonimic disaster or Windows native)?

  • Counter flip animation using keyboard

    hei everyone,it's possible to control animation with keyboard?
    i want to make animation like this http://d2o0t5hpnwv4c1.cloudfront.net/470_clock/Source/index.html
    but when i press keyboard its change,so it's not change automatic
    let's say,if i press "w" then number change to 1,and if i press "w" again it's change to number 2
    then if i press "s",back again to number 1
    i'm really appreciate if anyone can help me
    ps:sorry for my english

    There are a few things wrong with that code, one that shouldn't let you get past naming the textfield.  The event listener you assigned has nothing to do with listening for the keyboard.  Also, the keyCodes you show are not for the W and S keys.
    Try the following after renaming the textfield to "num" (or anything but "number")...
    var first:int = 0;
    num.text = "0";
    stage.addEventListener(KeyboardEvent.KEY_UP, numberevent);
    function numberevent(keyEvent:KeyboardEvent):void {
        // trace(keyEvent.keyCode);  use this to determine keyCodes if you need to determine them
        if (keyEvent.keyCode == 87) {           // W key
             first += 1;       
        } else if (keyEvent.keyCode == 83) {  // S key
             first -= 1;
        num.text = String(first);

  • How Stop Pop-Up Window: Allow Fullscreen With Keyboard Controls?

    How can I cause the cessation of the pop-up window that asks me, "Allow fullscreen with keyboard controls?" 
    In the last month or two (January- February of 2013), this black, semi-transparent pop-up has appeared every time I go to full screen in the game Battle Pirates on facebook.
    After numerous iterations, this confirmation request has become completely unneccessary and nothing more than an unwelcome annoyance.

    Tom,
    Moderators have the authority and privilege to mark answers as correct, in addition to the original posters. ANY moderator here could have marked it that way.
    The Bug report/Feature Request link is not a "vote" page per say, but a place to submit a request for a feature you'd like to see added or dropped from Flash Player. It's the best way to voice a concern or "wish" for a feature, since the development team reads the reports/requests. Management who'd make the decision to add or remove something won't read about it here. They WILL hear about it from development.

  • Which is the best tool for PRC animation? and how to control it with javascript?

    Hi I created animations through Deep Exploration. But I want to know how to create PRC animation with tools and how to control it? I already tried with tetra4D but the javascript can control only u3d format. I have no idea to control prc animation. Please let me know.
    Thanks and Regards
    Chenet0005 @ Chenthil Kumar

    PRC files don't support embedded animations.
    You can still control the mesh directly with  3D JavaScript (e.g. by using rotateInPlace and a time event handler) but you can't import a timeline as you can with U3D.

  • Lasso tool control point with delete keyboard shortcut in PS CC

    Hello,
    I can not remove lasso tool control point with delete keyboard shortcut in PS cc. please help

    it's a bug, view this thread
    http://forums.adobe.com/message/6027062#6027062

  • How Stop Pop-Up Advisory: "Allow Fullscreen With Keyboard Controls?"

    Is there any way to stop the repeteing ad nauseum and excruciatingly annoying pop-up queery: "Allow Fullscreen With Keyboard Controls?" everytime one expands a Flash window to full screen?
    Similarly, is there a way to turn off the "<webpage address> is now fullscreen.  Press Esc to exit." advisement, which reemerges every time one's cursor grazes the top of the screen?  

    I hear you.  There is no official way to get this done at this time.  If you have a few minutes, I'd encourage you to visit this bug report and leave a comment/vote.
    https://bugbase.adobe.com/index.cfm?event=bug&id=3058752

  • Volume control keys not functioning. PC model: s5268hk, with keyboard model: KG-0851

    I am using a desktop slimline model: s5268hk, with keyboard model: KG-0851. I don't remember what program I installed that caused the trouble but anyway, right now- it is not functioning like the usual. I re-installed the driver from HP support yet nothing has changed.  I appreciate any advice you can provide, thanks to everyone in advance! 

    You may have to go back to a known good system restore point.
    Right mouse click on my Computer, select properties, then advanced system setting then restore.  When you get to the restore window, check the box to show all available restore points and pick a date where your know when your PC worked correctly.
    If you are using a Norton AV product then turn off "tamper protection" before you attempt a restore or it will fail.
    HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
    HP Photosmart Premium C309G, HP Photosmart 6520
    HP Touchpad, HP Chromebook 11
    Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
    Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
    Windows 7/8 UEFI/Legacy mode, MBR/GPT

  • After reading and resetting everything with Keyboard I still get blank white screen. The only way I can boot to Mavericks is unplug power cord, push and hold power button while plugging power cord in. Fans at full speed.

    After reading and resetting everything with Keyboard I still get blank white screen on 2nd? page of boot. The only way I can boot to Mavericks is unplug power cord, push and hold power button while plugging power cord in. Fans run at full speed, machine boots then runs normal except the dvdrw will not . The mid 2011 IMAC had the same problem with LION. I changed hard drives, formatted, and installed a clean install of latest os x mavericks. Any help would be greatly appreciated.
    EtreCheck version: 1.9.15 (52)
    Report generated August 30, 2014 at 6:56:41 PM EDT
    Hardware Information: ?
        iMac (21.5-inch, Mid 2011) (Verified)
        iMac - model: iMac12,1
        1 2.5 GHz Intel Core i5 CPU: 4 cores
        4 GB RAM
    Video Information: ?
        AMD Radeon HD 6750M - VRAM: 512 MB
            iMac 1920 x 1080
    System Software: ?
        OS X 10.9.4 (13E28) - Uptime: 0 days 0:16:53
    Disk Information: ?
        ST3120026AS disk0 : (120.03 GB)
        S.M.A.R.T. Status: Verified
            EFI (disk0s1) <not mounted>: 209.7 MB
            Untitled (disk0s2) / [Startup]: 119.17 GB (87.12 GB free)
            Recovery HD (disk0s3) <not mounted>: 650 MB
        HL-DT-STDVDRW  GA32N 
    USB Information: ?
        Apple Inc. FaceTime HD Camera (Built-in)
        CHICONY USB NetVista Full Width Keyboard
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Computer, Inc. IR Receiver
        Apple Internal Memory Card Reader
    Thunderbolt Information: ?
        Apple Inc. thunderbolt_bus
    Gatekeeper: ?
        Anywhere
    Kernel Extensions: ?
        [loaded]    com.nvidia.CUDA (1.1.0) Support
        [loaded]    com.sophos.kext.sav (9.0.61 - SDK 10.7) Support
        [loaded]    com.sophos.nke.swi (9.0.53 - SDK 10.8) Support
    Startup Items: ?
        CUDA: Path: /System/Library/StartupItems/CUDA
        FanControlDaemon: Path: /Library/StartupItems/FanControlDaemon
    Launch Daemons: ?
        [loaded]    com.adobe.fpsaud.plist Support
        [running]    com.arcsoft.eservutil.plist Support
        [running]    com.bjango.istatmenusdaemon.plist Support
        [loaded]    com.oracle.java.Helper-Tool.plist Support
        [running]    com.sophos.autoupdate.plist Support
        [running]    com.sophos.configuration.plist Support
        [running]    com.sophos.intercheck.plist Support
        [running]    com.sophos.notification.plist Support
        [running]    com.sophos.scan.plist Support
        [running]    com.sophos.sxld.plist Support
        [running]    com.sophos.webd.plist Support
    Launch Agents: ?
        [running]    com.arcsoft.esinter.plist Support
        [running]    com.bjango.istatmenusagent.plist Support
        [loaded]    com.nvidia.CUDASoftwareUpdate.plist Support
        [loaded]    com.oracle.java.Java-Updater.plist Support
        [running]    com.sophos.uiserver.plist Support
    User Login Items: ?
        Macs Fan Control
        Firefox
    Internet Plug-ins: ?
        FlashPlayer-10.6: Version: 14.0.0.176 - SDK 10.6 Support
        Flash Player: Version: 14.0.0.176 - SDK 10.6 Support
        QuickTime Plugin: Version: 7.7.3
        JavaAppletPlugin: Version: Java 7 Update 67 Check version
        Default Browser: Version: 537 - SDK 10.9
    Audio Plug-ins: ?
        BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
        AirPlay: Version: 2.0 - SDK 10.9
        AppleAVBAudio: Version: 203.2 - SDK 10.9
        iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins: ?
        Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    3rd Party Preference Panes: ?
        CUDA Preferences  Support
        Fan Control  Support
        Flash Player  Support
        Java  Support
    Time Machine: ?
        Time Machine not configured!
    Top Processes by CPU: ?
             1%    WindowServer
             1%    fontd
             0%    firefox
             0%    SystemUIServer
             0%    SophosWebIntelligence
    Top Processes by Memory: ?
        229 MB    firefox
        156 MB    SophosScanD
        152 MB    InterCheck
        131 MB    com.apple.IconServicesAgent
        115 MB    SophosAntiVirus
    Virtual Memory Information: ?
        424 MB    Free RAM
        1.53 GB    Active RAM
        1.37 GB    Inactive RAM
        699 MB    Wired RAM
        1.26 GB    Page-ins
        0 B    Page-outs

    I'd start by getting rid of the following software responsible for these extensions.
    Kernel Extensions: ?
        [loaded]    com.nvidia.CUDA (1.1.0) Support
        [loaded]    com.sophos.kext.sav (9.0.61 - SDK 10.7) Support
        [loaded]    com.sophos.nke.swi (9.0.53 - SDK 10.8) Support
    Startup Items: ?
        CUDA: Path: /System/Library/StartupItems/CUDA
        FanControlDaemon: Path: /Library/StartupItems/FanControlDaemon
    Use the uninstaller provided with the Sophos software. You can uninstall CUDA via the preference pane. Be sure you remove the com.nvidia.CUDA extension which is located in the /System/Library/Extensions/ folder. Not sure if Fan Control has an uninstaller so you will have to do it manually:
    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash.  Applications may create preference files that are stored in the /Home/Library/Preferences/ folder.  Although they do nothing once you delete the associated application, they do take up some disk space.  If you want you can look for them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application.  In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder.  You can also check there to see if the application has created a folder.  You can also delete the folder that's in the Applications Support folder.  Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item.  Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder.  Log In Items are set in the Accounts preferences.  Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab.  Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    Some software use startup daemons or agents that are a new feature of the OS.  Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term.  Unfortunately Spotlight will not look in certain folders by default.  You can modify Spotlight's behavior or use a third-party search utility, EasyFind, instead.
    Some applications install a receipt in the /Library/Receipts/ folder.  Usually with the same name as the program or the developer.  The item generally has a ".pkg" extension.  Be sure you also delete this item as some programs use it to determine if it's already installed.
    There are many utilities that can uninstall applications.  Here is a selection:
        1. AppZapper
        2. AppDelete
        3. Automaton
        4. Hazel
        5. AppCleaner
        6. CleanApp
        7. iTrash
        8. Amnesia
        9. Uninstaller
      10. Spring Cleaning
    For more information visit The XLab FAQs and read the FAQ on removing software.
    Be sure to remove your two Login Items. Finally do this:
    Reinstall Lion, Mountain Lion, or Mavericks without erasing drive
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu.
    Reinstall Lion, Mountain Lion, or Mavericks
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it is three times faster than wireless.

  • Troubles importing Flash 10 Animation with 3D Transform

    I am looking for any workaround/experiences for importing a Flash 10 animation with 3D transforms. Currently, doing this will wig out Captivate 4 and break the embedded animation in all sorts of ways. AS3 support in Captivate is turned on and the same animation will load and play correctly if the 3D transform is removed. All other Flash 10/AS3 possibilites work including motiosn graphs and filters.
    I find the 3D transform option of Flash CS4 to be one of the most powerful features ever introduced in Flash and would allow some incredible breakthrough design possibilities for my Captivate projects, if it would just support it! Any experiences with this issue welcomed. A bug report has been submitted also, but looking for a quicker remedy.

    Problem Resolved!
    I got this tip from Vikram (Adobe Support)
    1. Open your project having Flash Player 10 animations involving 3D transforms.
    2. Click the Edit menu and select Preferences.
    3. Select "Publish settings" under the "Project" section.
    4. Check "Animations" option under the "Externalize resources" section.
    5. Press OK.
    6. Now click the publish button.
    7. In the publish dialog, select Flash Player 10 from the "Flash Player version:" drop down.
    8. Click publish.
    (F4 preview may not work, so use preview in browser)
    Also, you may need to be wary of embedded scripted symbols as they may loose reference to the parent symbol after being embedded in yoru your CP4 project containing 3D transforms. My advice here is to try to script using as much object oriented js as possible in the main timeframe.
    I am using a combination of localConnect and ExternalInterface functions to control the 3D animation from captivate quiz buttons. This process adds a whole new level of interactivity and visual interest to your captivates!

Maybe you are looking for

  • Problem on Surface Pro 2

    I've had no luck with power BI on a Surface Pro 2.  I installed the app from the store.  When I open it, it just goes to a blank blue screen. I try to uninstall by pressing and holding and pressing uninstall.  The startup icon is gone, but when I go

  • ITunes 12: Can't Add Album Artwork; Missing Artwork Too

    I've been trying to add a 622X621 JPEG image to iTunes following the usual steps. (Using the Add Artwork button under Get Info and copy/paste artwork in the artwork window under Get Info.) No matter what I try it simply won't appear in iTunes. I'm al

  • Content repository FD does not exist :user agent sap web application server

    Hi All i am using 3rd party software(dms SERVER) and connecting it using archive link interface SAP HTTP 4.5 AL i have created a new repository with name FD using tcode OAC0.when i give inputs in OACO and click on test connection it gives me informat

  • Execute stored procedure throu function

    I have table which has list of all the procedures. I need to run them thru a function. I have written the code to fetch the values from table, but I am not sure how the function will execute them. Can someone pls help? Here is my code. c2.function_na

  • Is it possible to just add a caption to a picture?

    I am trying to just add a simple caption to a couple pictures I have such as at the top of the image JPG or RAW in a large font centered up nicely. I just cant seem to figure out how to do this at all!? Must be missing something here. I just got into