Trouble using touch commands

I am trying to use touch comands so that as well as using a thumbnail to move to a fullscreen image (sym.play("label");) I would like to be able to use the touch comands to swipe between the markers but still keep the functionality of the thumbnails.
I am trying the following code on the stage:
Touchstart:
// Get start point
var xStart = e.originalEvent.touches[0].pageX;
sym.setVariable('xStart', xStart);
Touchend:
xStart = sym.getVariable('xStart');
var xEnd = e.originalEvent.touches[0].pageX;
if (xEnd > xStart)
    sym.playReverse();
else if (xEnd < xStart)
    sym.play();
Any advice would be a great help. Thanks

See "Get Help with Touch ID" ...
Use Touch ID on iPhone and iPad - Apple Support

Similar Messages

  • Why am I having so much trouble using Touch ID on my iPad Air 2?

    I have loaded, deleted and reloading my fingerprint. It works about one time out of ten tries. Very frustrating. I usually have to use my password. What can I do to get it working properly?

    See "Get Help with Touch ID" ...
    Use Touch ID on iPhone and iPad - Apple Support

  • Tiger - Trouble Using Find Command

    Using Tiger 10.3.9...
    When I go to the desktop and click command - F and the find command opens
    - a click on the "others" tab and choose the hard drive I want to search in
    - and to get rid of all the other criteria and choose: name - contains & the keyword I am looking for... Then I hit return ...
    Very often it will not find something that I know is there... Just to prove this I will load the great program "easyfind 3.9" ... And it finds what Apple could not find it in just a few seconds...
    Q: Why is this happening... How can I fix this? Is it an Apple bug?
    BTW: spotlight does not have anything in the privacy area to block this...

    The Spotlight database, it's index of stuff, is hidden. REALLY hidden--not only is in a dot folder (.Spotlight-V100) at the root level of your drive, which makes it invisible to the Finder--but you can't open it even if you are the admin of your computer and use the Terminal. You can see it in Terminal with a list all command:
    ls -a /
    If you then try to see inside you get a "Permission denied" reply:
    Tiger:~ francine$ ls -a /.Spotlight-V100/
    ls: : Permission denied
    You have to become the super user (equivalent of root) to even list the contents of the folder:
    Tiger:~ francine$ sudo ls -a /.Spotlight-V100/
    total 190816
    .journalHistoryLog
    .store.db
    ContentIndex.db
    _exclusions.plist
    _rules.plist
    store.db
    The ContentIndex.db is the database of file contents, the store.db has the index of the metadata of each file. Don't know why there is both a store.db and a .store.db, no doubt Dr. Smoke would.
    Francine
    Francine
    Schwieder

  • I can't open rtf files created using the 'touch' command in Terminal

    I don't know much about CLI but I like to play with my tech. When I create an RTF file using
    touch foo.rtf
    it creates the file but when I try and open it, it just says "The document “foo.rtf” could not be opened."
    What's the deal?

    Answered Here on StackOverflow:
    As you've likely discovered, touching a nonexistent file will create a zero-byte file with the name you specify. (touch is also used to update the modification time on an existing file. Seeman touch for further details.)
    The problem you're running into is that though a completely empty file is valid HTML, text, or Markdown, it is not valid RTF—this is true of many file formats, actually, which are structured in a particular way and require some data to be present be valid.
    Based on my experimentation, the bare minimum RTF file appears to be
    {\rtf1}
    If you'd like to create a blank RTF file from the shell, try this:
    echo '{\rtf1}' >Foo.rtf
    Note the above will overwrite Foo.rtf if it exists.
    Thank you user Zigg

  • Unable to delete files from encrypted external SD Card using File Commander

    I've run into some trouble trying to delete the directory com.spotify.music from my external SD Card (encrypted) after a hard reboot using the reset button next to the sim card.
    I need to do this for the Spotify app to work (FC on starting it) and I'm currently unable to delete the folder and its contents from Sony provided file explorer(FC File Commander).
    Is there a way to delete this app from adb or other command line tool or how should I go about this? Developer options are enabled because I'm learning to develop apps. Not particularly keen on rooting or otherwise format my SD Card but it's an option if there are no other ways to do it. 
    I can see the contents of my card using File Commander just fine. Spotify app is uninstalled, I tried remove cache and data before uninstall also.

    Thommo wrote:
    Are you able to delete files via your Pc or are you able to remove the card from your phone and connect it to a Pc for file deletion - There is a free program called Unlocker currently on version 1.9.2 which is excellent at deleting files that don't want to be deleted - You would install the program then right click the file and choose Unlocker and then when the program starts choose delete
    I guess he will not be able to move the SD card to the computer since it's encrypted and is working only with that particular device, but he should be able to access it via PC.
    If you can try to uninstall Spotify from your phone. I assume Spotify is not working due to some rubbish inside it's directory, but on the other hand you can't delete the folder because it may be used by Spotify. If you uninstall app folder may be unlocked.
    Best regards,
    Sergio PL
    Xperia Z1 / Nexus 7 (2012)

  • How do I use "touch -t" to shift a batch of JPG timestamps by one hour?

    I'm trying to use "touch -t" to shift a batch of JPG created/modified timestamps by one hour to fix a time zone error. Is this possible?
    (I don't want to have to manually go to every file, and enter its current timestamp all the same way except for the month.)
    By the way, does using the "touch" command have the same JPG lossy effect as saving the file again?

    picky picky picky
    So you write a script that uses stat to get the current modification time and then add 60 minutes to it, with the date command, then then use that with touch against the file. Nothing to it
    #!/bin/sh
    find starting.directory -name "*.jpg" | while read file
    do
    ls -l "$file"
    mtimeinsec=$(stat -f %m "$file")
    mtimeplus_1H_in_touchfmt=$(date -j -r $mtimeinsec -v +1H +%G%m%d%H%M.%S)
    /usr/bin/touch -t $mtimeplus_1H_in_touchfmt "$file"
    ls -l "$file"
    done
    I've added an hour to the modification time. If you want to subtract an hour the +1H to -1H
    If you want to use shell wildcard selection modify the loop to be something like
    #!/bin/sh
    for file in *.jpg
    do
    ... the guts of the above while loop ...
    done
    If you just want to provide a list of files, you can change the *.jpg to a list of files. JUST BE CAREFUL OF SPACES IN FILE NAMES and directories
    If you want a drag and drop application, you can do that with some additional changes and either using Applications -> Automator with the "Run Shell Command" or using Platypus (free download, and a very nice utility). The script would change to:
    #!/bin/sh
    for file in "$@"
    do
    ... the guts of the above while loop ...
    done
    I have tested the very first script. I am fairly confident my 2nd to examples are right, but they are untested, so your mileage may vary.

  • Using "getf" command in Scilab-LabVIEW Gateway

    I am having trouble using the "getf" command in the Scilab-LabVIEW Gateway.
    I would like to load an external Scilab function using the LabVIEW script
    node and perform an operation with it.
    In Scilab, the following code works correctly:
                                 scilab-4.1.1
                          Copyright (c) 1989-2007
                      Consortium Scilab (INRIA, ENPC)
        Startup execution:
          loading initial environment
        -->getf "C:/program files/scilab-4.1.1/macros/dec2bin.sci";
        -->dec2bin(10,4)
         ans  =
          1010
        -->    
    However, when I execute the same code in the Scilab-LabVIEW Gateway, I
    receive the error:
        Error 1048 occured at LabVIEW:  LabVIEW failed to get variable from
        script server. Server:"" in Untitled 1
        Possible Reason(s):
        LabVIEW:  LabVIEW failed to get variable from script server.
    Is it possible to use "getf" in the Scilab-LabVIEW Gateway?
    Thanks,
    Joe
    Attachments:
    scilab_terminal.JPG ‏29 KB
    labview_scilab_error.JPG ‏28 KB

    Hi,
    You may want to contact the persons responsible for creating the Scilab to LabVIEW Gateway.  I have seen this error with scripts usually when it is required to have user inputs and have the user interact with the program.  Sometimes fixing this problem is if you associate the variable being called to an input in LabVIEW.
    I hope this helps,
    Regards,
    Nadim
    Applications Engineering
    National Instruments

  • Error in using the command "loadjava"(help me !)

    When I use "loadjava" command to load the sample source code of
    XML SQL Utility for Java,the errors as below:
    C:>loadjava -u system/manager -v -r -t samp1.java
    internal error:unanticipated
    exeption:java.lang.NoClassDefFoundError:
    oracle/aurora/sqljdecl/SqljDecl
    java.lang.NoClassDefFoundError:
    oracle/aurora/sqljdecl/SqljDecl
    at oracle.aurora.server.tools.SourceFileReader.getScanner
    (SourceFileReader.java:52)
    at oracle.aurora.server.tools.SourceFileReader.getFirstName
    (SourceFileReader.java:61)
    at oracle.aurora.server.tools.LoadJava.processLoadAndCreate
    (LoadJava.java:1094)
    at oracle.aurora.server.tools.LoadJava.process
    (LoadJava.java:1021)
    at oracle.aurora.server.tools.LoadJavaMain.run
    (LoadJavaMain.java:193)
    at oracle.aurora.server.tools.LoadJavaMain.main
    (LoadJavaMain.java:49)resolvers:
    loadjava :1 errors
    C:>
    I looked for the class "oracle/aurora/sqljdecl/SqljDecl"
    by executing the SQL query as below:
    "select object_name from user_objects
    where object_name like oracle%"
    But I found only "oracle/aurora/sqljdecl/Token".
    Maybe my envirenment have some errors(I get Oracle8i from
    oracle's home by downloading)
    I can't find out the reason.This matter have troubled me for a
    long time.
    Does anyone know the reason?please tell me.thanks a lot.
    null

    plz help me !!!!!

  • Trouble using facetime on another device with same apple id

    Hi
    I am having trouble using facetime with my wife.  I have an iPad 2 and she has an IPhone 4S.  When we try to facetime, we are able to connect for a few seconds and then it drops off.  We are then unable to reconnect.  We both have the same apple Id and e-mail address although I am trying to contact her via her mobile number.  Any suggestions would be grateful received.

    Get an email address (free gmail.com) to use on the iPad.
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • Using tar command to copy faster

    Hi,
    I want to copy the apps directories and subdirectories to another location on same machine for cloning purpose.
    I know this can be achieved using tar command.
    Will you pls send me the tar command to archive and copy at the same time using pipe "|" .
    Thanks,
    Dnyanesh

    Hi Funky,
    Permissions are assigned based on uid, not username. When you unpack the tar file with the 'p' option as root, the files will have the same uid on the target system as they did on the source system. In this case, preserving permissions for 'root' should not be a problem. The uid for root (0) does not usually change. The complication is with the uid values for non-root users.
    As far as preserving the uid for non-root users (like oracle or applmgr)...mostly I just try to keep these in sync across my systems as much as possible. :) For example, although the applmgr user on my production system is 'applprod', and on my test system is 'appltest', they both have the same uid (1003). That way, when I unpack a tarball from my production system on my test system, all the files that were owned by 'applprod' show as being owned by 'appltest'.
    In your example, if user 'xxx' on production and user 'yyy' on the clone server had different uids (for example, 1003 and 1004), the easiest thing to do is to try changing the uid of user 'yyy' on the clone system:
    usermod -u 1003 yyy
    This will only work, of course, if there is no other user on your clone/target system with uid 1003. :-)
    If you do have another user on your target system with uid 1003, then when you unpack the tar file on the target, your files will definitely have the wrong owner. You can still change that without touching root-owned files by using chown to change just the files owned by the "wrong" user:
    chown -R --from wronguser correctuser $ORACLE_HOME
    If your Linux doesn't support the --from syntax for chown (I primarily use SUSE/SLES and don't have my Redhat VM handy to check), you could also use find:
    find $ORACLE_HOME -user wronguser -exec chown correctuser {} \;
    Again, the point of the chown and find commands is that they'll leave the files that are supposed to be owned by root untouched.
    Sorry for the long post, I tried to go for comprehensive instead of brief this time. :-)
    Regards,
    John P.

  • My new 5G iPod touch is much slower to respond th touch commands than my old 4Gen. Anyone else have this problem?

    The reponse time after a touch command on my new iPod 5th Gen, 64GB is painfully slow, especcially when compared to my iPod touch 4th gen iOS6. Anyone else experiencing this? From Grumpy Troll.

    My is quite responsive.  However, I had a corrupted iCloud sync file that were looping using constant CPU and draining batterie life (there another post related to this).  So, it is possible that something went wrong if you had restored the new iPod using previous backup.
    First, you should try to quit any open apps by double-clicking home button, tapping and holding on an opened apps and then closing them all.
    Second, do a restart by pressing and holding the sleep/wake button.
    If this doesn't solve the issue, you may take a look here to get more info:
    Settings General -> About -> Diagnostics & Usage -> Diagnostics & Usage Data and look at crash reports.  Is there many recent, recurring crash from specific apps, etc.
    If nothing special there, you can try to restore like a new iPod to see if it get more responsive.  If it does, it probably means that you got an issue with your backup.  Retry the restore from your backup to see if it get again less responsive.  That would confirm wether or not you got such issue.
    Let us know the outcome of these trials.
    PS: since it a new device, you may also get help from Apple service either by phone or at a genius bar.

  • Using keyboard commands to move an object

    Hello, I am trying to make a quasi-asteroids program. I'm trying to move a ship around using keyboard commands. If I put the keyboard commands in the same class as the ship it does fine. Now I'm trying to put all the keyboard commands in their own class. This is where I am starting to have trouble. Here's the code for the commands class and ship class.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Ship implements KeyListener
         ImageIcon ship;
         final int WIDTH = 300;
         final int HEIGHT = 225;     
         final int JUMP = 5;
         private int     x,y;          
         private int iWidth, iHeight;
         public boolean movingLeft,movingRight,movingUp,movingDown;
         public Ship ()
              ship = new ImageIcon ("ship.gif");
              iWidth = ship.getIconWidth();
              iHeight = ship.getIconHeight();
              x = WIDTH/2-10;
              y = HEIGHT/2;
         public void move ()
              if (movingLeft)
                   x -= JUMP;
              if (movingRight)
                   x += JUMP;
              if (movingUp)
                   y -= JUMP;
              if (movingDown)
                   y += JUMP;
         public void draw (Graphics page)
              page.drawImage (ship.getImage(),x,y,null);
    import java.awt.*;
    import java.awt.event.*;
    public class DirectionListener implements KeyListener
         private Ship s1;
         public DirectionListener ()
              s1 = new Ship ();
         public void keyPressed (KeyEvent event)
              switch (event.getKeyCode())
                   case KeyEvent.VK_DOWN:
                        s1.movingDown=true;
                        break;
                   case KeyEvent.VK_UP:
                        s1.movingUp=true;
                        break;
                   case KeyEvent.VK_LEFT:
                        s1.movingLeft=true;
                        break;
                   case KeyEvent.VK_RIGHT:
                        s1.movingRight=true;
                        break;
         public void keyReleased (KeyEvent event)
              switch (event.getKeyCode())
                   case KeyEvent.VK_DOWN:
                        s1.movingDown=false;
                        break;
                   case KeyEvent.VK_UP:
                        s1.movingUp=false;
                        break;
                   case KeyEvent.VK_LEFT:
                        s1.movingLeft=false;
                        break;
                   case KeyEvent.VK_RIGHT:
                        s1.movingRight=false;
                        break;
         public void keyTyped (KeyEvent event) {}
    The problem is obviously trying to communicate between the classes. Why can I not assign the boolean variables in the Ship class from the DirectionListener class? Thanks in advance.

    A program is worth a thousand words, er a ... well whatever ...
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Ship extends JFrame {
      ImageIcon ship;
      final int WIDTH = 300;
      final int HEIGHT = 225;
      final int JUMP = 5;
      private int x,y;
      private int iWidth, iHeight;
      private boolean movingLeft,movingRight,movingUp,movingDown;
      public Ship() {
        ship = new ImageIcon ("ship.gif");
        iWidth = ship.getIconWidth();
        iHeight = ship.getIconHeight();
        x = WIDTH/2-10;
        y = HEIGHT/2;
        this.getContentPane().addKeyListener( new DirectionListener() );
        // You'd add the DirectionListener to whatever component you want.
      public void move() {
        if (movingLeft)  x -= JUMP;
        if (movingRight) x += JUMP;
        if (movingUp)    y -= JUMP;
        if (movingDown)  y += JUMP;
      public void draw (Graphics page) {
        page.drawImage (ship.getImage(),x,y,null);
      class DirectionListener implements KeyListener {
        public DirectionListener() {
        public void keyPressed(KeyEvent event) {
          switch (event.getKeyCode()) {
            case KeyEvent.VK_DOWN:
              movingDown=true;
              break;
            case KeyEvent.VK_UP:
              movingUp=true;
              break;
            case KeyEvent.VK_LEFT:
              movingLeft=true;
              break;
            case KeyEvent.VK_RIGHT:
              movingRight=true;
              break;
            default: break;
        public void keyReleased(KeyEvent event) {
          switch (event.getKeyCode()) {
            case KeyEvent.VK_DOWN:
              movingDown=false;
              break;
            case KeyEvent.VK_UP:
              movingUp=false;
              break;
            case KeyEvent.VK_LEFT:
              movingLeft=false;
              break;
            case KeyEvent.VK_RIGHT:
              movingRight=false;
              break;
            default: break;
        public void keyTyped(KeyEvent event) {
      public static void main(String[] argv) {
        new Ship();
    }... I made it an inner class, because you want to do very program specific stuff. I don't know really if I like this approach either, but I can't see what else you'd mean to do with the code you posted, what with the DirectionListener class doing such specific kinds of things.
    Some general critique: You forgot to add the 'default' keyword to your switch statements; and you really don't want to make the booleans public.
    ~Bill

  • Touch commands and Shortcuts

    Attempting to search the Apple site and this discussion board for a possible listing of the Touch commands and shortcuts for the Macbook (example: saw a Mac Genius zoom with touchpad finger gesture)- curious about other possible commands..

    Touchpad gestures should be in your User Guide for the computer assuming you have one with a touchpad trackpad. As far as I'm aware that's only available on the MacBook Pro but according to your information you have a MacBook. Only the latest MBP model supports gestures on the trackpad. These models only run Leopard. Were they available for the MB, you would need a current model with Leopard, but you are using Tiger. Configuring your trackpad for scrolling is done using the Keyboard and Mouse preferences.
    As for keyboard shortcuts: Mac OS X keyboard shortcuts.

  • Triggering Audio using Touch Tracks

    I've been learning about touch tracks for real-time control of song section playback during live performances. The literature says that you can only trigger midi regions, and not audio. What I'd like is to trigger a folder that contains both midi AND audio, but haven't had much luck.
    Thought?

    Couldnt you just turn your audio files into EXS instruments and then use touch tracks?
    I dont have any experience using Logic for live performances or using touch tracks, so perhaps I'm way off here, but what exactly are you looking to do? Do you want to have complete access to multiple parts of song(s) in a single click/keyboard note? Do you need to do this without visual references?
    When I'm writing music and need to jump around quickly and/or hear different parts of songs I use the following methods...
    1. pack different "versions" of cues into folders and "solo" the sections I want to hear. Perhaps this method can be adapted for live performance, as you would simply select the folder with the new part of the song?
    2. Markers w/ "jump to next/previous marker" key commands. I use markers to mark sections of my cues/songs, and then simply use key commands to jump around my arrangement. Perhaps this too can be adapted for live performance?
    3. "Go to bar" key command. You could have a listing of the starting bars of all your song parts in a text doc (or in marker notes inside logic) and simply enter the exact bar number of the section you want to hear.
    Perhaps some of these techniques could be adapted to fit your needs? Once again, sorry if I am way off here, but just thought I'd try to help anyway
    After thinking about my ramblings above, I would say turning your audio files into EXS instruments and then using "Touch Tracks" would be your best bet! Good luck!

  • Can not use TOUCH function on Nokia 6600 slide

    Can not use TOUCH function on Nokia 6600 slide-
    turned on sensor in phone settings, but when i touch the PHONE it does not work.
    Please, tell me how use this function or maybe my phone is out of order

    As long as your Sensor Settings are On within Menu, Settings, Phone, Sensor Settings then you just need to do the following -
    Tapping
    The tap function allows you to quickly
    mute and reject calls and alarm tones, and
    to display a clock just by double-tapping
    the back or front of the phone when the
    slide is closed.
    Select Menu > Settings > Phone >
    Sensor settings to activate the tap
    function and vibration feedback.
    Mute calls or alarms
    Double-tap the phone.
    Reject a call or snooze an alarm after
    muting it
    Double-tap the phone again.
    Display the clock
    Double-tap the phone.
    (If you have missed calls or received new
    messages, you must view them before you
    can see the clock.)
    Simply, if you double tap the screen when the slide is closed and you can see the clock appear then it is working.
    I hope this makes it clearer for you.
    Full Manual here - http://nds1.nokia.com/phones/files/guides/Nokia_6600_slide_UG_en.pdf

Maybe you are looking for

  • IOS 7 Can no longer connect iPad to iTunes

    Just installed IOS 7. Also, updated to new version of iTunes. Now, I cannot connect iPad 4 to iTunes. Also, I continually get message "Trust This Computer?" when  I try to connect iPad you iTunes even though I always answer Trust

  • Can I use a late '06 24" iMac with a bad video board as a monitor?

    I have a late '06, 24", 2.16ghz iMac with a video board that works unless it is over-tasked and heats up.  Then the screen glitches and finally the computer freezes up or crashes.  Is it possible to use it as a monitor for a mac mini or other compute

  • Xml DOM Exception

    Hi, I've copied and pased the DOM example from the java's tutorials section, but when I try to run it I'm getting the following exception: Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange Any ideas???? Thank

  • When to use Apple Intermediate Codec -v- NTSC  ???

    OK, After successfully creating two projects - one for YouTube and another on DVD - I found myself in a slump when 3 succeeding projects wouldn’t upload properly to YouTube. After doing some troubleshooting with people who “might” know what the probl

  • IMac 24" Pixels

    Spoke to soon had my new 24" iMac couple of weeks or so 1 pixel has died & 4 have stuck not happy .. not the end of the word but once you notice them they start to niggle you. Has taken the shine of the product a bit ... can anyone advise if they hav