[Andrd]Touch event won't launch

Here is my code:
import flash.events.TouchEvent;
Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
camBTN.addEventListener(TouchEvent.TOUCH_TAP, function(e){
        camBTN.tf.text = "touched!";
Well, the button text won't change, no matter what.
I'm working on Galaxy S 2.2 Froyo.
Thanks

@Joe
It was my hold AIR 2.5 release (do you remember? You told me to download it for a bug of the las t release). Now with the newest everything works fine.
Thx!

Similar Messages

  • Photoshop Touch for iPhone 5s won't launch

    Hi I Just bought photoshop touch for the iPhone 5s it won't launch. I tried clearing up space but that didn't work. I currently have 6gb available. PLEASE HELP! Thanks

    Hi,
    does it help after restarting the device or quitting all other running applications?
    If that doesn't help a re-install from iTunes might help.
    thanks,
    Ignacio

  • Macbook Pro Retina (July 2014) will not register TOUCH events when going through the AIR DEBUG LAUNCHER for MOBILE

    I recently purchased a MACBOOK PRO with a retina screen and have started to transition to it as a primary work computer.
    I have a game that is built on another Macbook Pro (non retina) that works fine in the AIR debug launcher for mobile but when I launch it from the RETINA device, the touch events seem to not register correctly.
    Has anyone else experienced this issue?

    To further clarify, it appears the touch simulator is cutting everything in half, maybe because of the pixel density?

  • Touch events don't work on an actual device?

    I'm posting here because I'm not sure where else to put it.
    I have a (semi) functioning prototype of an app and am trying to test it on an iPad.
    But when I export and install the ipa on my iPad through iTunes and Launch, most of the functionality is gone. In fact, all that happens is my buttons light up. Nothing does anything else.
    I'm (hoping) I'm just missing something simple like a publish setting wrong.
    Player: AIR for iOS
    Script: Actionscript 3.0
    Included .swf, .xml, and all relevant .as class files
    Published using quick publish for device testing
    And that's it. I opened the .ipa in iTunes and synced. And nothing works.
    What am I doing wrong?

    I am going to copy and paste this answer into all of the forums I've asked this question in case some noob like me comes along and needs the answer.
    I found the problem! After 3 months I finally figured out what was wrong and why my app was working in Device Central when exported as Flash 10.1 and not on my iPad when exported as AIR for iOS.
    The problem is that in the Flash runtime, if a line of code returns a bug, the flash runtime says "Error, shmerror, try again next time." So I had one if, else statement that was executing when it wasn't supposed to be - only once, at the very beginning of the program. It was throwing an error. When I exported as Flash, flash didn't care, and still executed the code later when it was supposed to. But Apple won't let their programs crash. So instead of just trying that code again, Apple decided, after the first error was thrown, that it would then COMPLETELY IGNORE that line of code. So the error was in the line where the states would unhighlight themselves. Apple just shut down that line of code, that's why it wouldn't execute properly.
    I ended up changing this line of code
    if (lastObjOver != null && lastObjOver.isLocked == true)
    which threw an error when the piece was FIRST dragged over the puzzle, to to this
    if (lastObjOver.parent != null && lastObjOver.isLocked == true)
    which wouldn't throw the error.
    Problem solved!
    If anyone else is having this problem, I suggest you do what I did. Change all your touch events to mouse events so you can run the program in the adc debugger. That's when I discovered the error being thrown.

  • Mail won't launch nor its settings save/ allow changes after 2.0

    Anyone else have this ? Mail just won't launch ; opens to the main scroll screen, which stays blank, with the top and bottom bars showing – the bottom bar showing the refresh and write buttons – and then quits. Also, I cannot delete my MobileMe or GMail account, nor edit them.
    Though with the MM account, if I try to delete it, it disables all of the push functions except mail. Things that I've been trying to do, like change whether the Trash folder autodeletes mail or not and the name of the account, don't save at all. The Trash delete frequency change stays in place as long as I'm in the Mail settings ; the name change doesn't hold at all.
    In the second setting 'pane' in Settings – "Nouvelles Données" in French, so I guess "New Data" ? – down in Advanced, there are two MobileMe Push accounts listed. The first one saying it syncs calendars and contacts, and the second one mail... Yet I only have one MM account set up, or so says the uneditable Mail settings.
    Nor can I (re)add my MM and GMail accounts. Trying to add a Yahoo account I never put on the also failed.
    I've restarted my touch too.
    Sounds like one of those things that when on a Mac, deleting a plist or fixing permissions would be suggested... I can't find a similar Settings-related problem anywhere on the internet either.
    Reïnstall?
    Message was edited by: TMAR

    im having a mail problem too. i have a multiple yahoo mail accounts and every single one of them wont work. i keep getting this "the user name or password for "imap.apple.mail.yahoo.com" is incorrect." so i deleted my accounts and re-entered them. and the same message came up. i've re-typed the information many times throughout the day and it didnt work. i tried a different account and the same happened. then i tried my gmail account and that didnt work. yours sounds worse than mine, though. im not having mulitple languages. i hope you can figure it out = ]

  • IPhoto 11 won't launch and crashes every time I try to rebuild the library. Urgh.

    iPhoto 11 won't launch- it's another case of an infinite skinny wheel. I've tried rebuilding the library numerous times, each time it takes about a day and each time it crashes near the end. This is just ridiculous. Any tips folks?
    APPLE if you can hear me... shouldn't you be testing this stuff prior to release? I know you do but I mean, like REALLY testing it? This is my second iPhoto upgrade disaster. The last time I lost my entire library, had to spend £80 on recovery software that recovered not only most of my photos, but every image cached on my machine. So then I had the fun of sorting through literally thousands of images...
    And I only got the upgrade becasue my iPhone is refusing to sync, freezing on the iPhoto bit. Gah.

    Make a temporary, backup copy (if you don't already have a backup copy) of the library and apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Select the options identified in the screenshot. 
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • My apps won't launch & menu bar missing all top left icons!!!

    A strange concurrence of multiple problems:
    I am a pretty advanced user and have an iBook G4/1.33 GHz running Tiger 10.4.8, but I am having trouble with my PowerMac G4/500 MHz running 10.3.9 right now. I keep my PowerMac in Panther since it is almost 7 years old and I only have Tiger on my iBook disc.
    Suddenly a few things started to happen at once yesterday:
    1) NONE of the top right menu bar icons (OS 9 status, modem status, iChat, monitors, AirPort, Volume, clock, etc. show up upon log-in or restart.
    2) Virtually NONE of my apps will launch from the Dock or the Finder. They bounce a few times then give up, with no error message.
    I peformed successful repairs booting from both the OS X Panther disc and TechTool Deluxe. Although recommended, I can't create a TEST User because System Prefs won't launch, can't repair permissions from the problematic drive because Disk Utility won't launch, and I can't clear out caches because Cocktail won't launch.
    I made sure the Application Support Folder in my Home Library had read/write permissions for me and applied to all enclosing folders as suggested. I tried trashing the com.apple.ActivityMonitor.plist preference in my Home Library also as suggested. However, it wouldn't allow me to remove the Launch Services file in the Caches folder of the main Library Folder as I also read here in the discussions.
    Aside from successfully running disc repairs from the startup disc and TechTool, I tried repairing permissions from the startup CD as well (since couldn't launch any apps like Disk Utility from regular startup drive). Every time I try to repair in this manner though, after a minute it tells me "Disk Utility lost connection with Disk Managment" and I must quit and relaunch Disk Utility. However, same thing happens when I do, for both my drives running copies of OS X 10.3.9.
    Only thing I can think of is to do an Archive/Reinstall of one of the two OS X systems on two different drives. But does anyone else have a clue what is causing this or what I need to try??? I read similar stories on here but nothing will all these symptoms at once.
    I would REALLY appreciate some input, thanks!!!
    PowerMac G4/500 MHz (1 GB); iBook G4/1.33 GHz (1.5 GB)   Mac OS X (10.4.3)   (still using 10.3.9 Panther on PowerMac)

    Menu Bar Problems ..........
    Check the following link for OS X troubleshooting steps. When doing so, following all steps in the order provided:
    http://www.thexlab.com/faqs/repairprocess.html
    1 If resetting permissions doesn't help, you may have a corrupt preference file... Delete....
    Delete ~/Library/Caches (folder)
    ~/Library/Preferences/com.apple.systemuiserver.plist
    ~/Library/Preferences/ByHost/com.apple.systemuiserver.xxx.plist
    where 'xxx' is a 12 digit (hexadecimal) numeric string
    • Then log out and back in again. You may need to go to System Preferences to put back the menu items you need to display.
    • Removing systemuiserver.plist will cause the right half of the menubar back
    its original pristine default state.
    2. Check Preferences Thoroughly;
    - Navigate to ~/Library and drag the "Preferences" folder to the desktop.
    - Restart and test your applications.
    • If this does not work, move the "Preferece" folder back to ~/Library
    • If this works, delete the old preferences folder. (You'll have to go through some of your System Preferences and apps to set the preferences back to how you like them).
    3. Navigate to ~/Library and drag the "Fonts" folder to the desktop.
    - Restart and test your applications.
    - If they work start adding the fonts back few at a time.
    ( A likely suspect is Time RO, also if you do not use Classic you can trash the classic fonts.)
    4. Check Permissions Inside Home Folder
    - Navigate to ~/Library.
    - Get Info (Command + i) on the "Applications Support" folder.
    - Open the "Ownership & permissions" flippy triangle.
    - Make sure you are the owner, with "read and write" access.
    - Click on "apply to all"
    - If this is correct, open the "Applications Support" folder and do the same procedure (Command+I) for the folders with the names of the applications you are having trouble with.
    Note...The reason to check this is because repairing permissions with Disk Utility doesn't touch permissions inside your home folder.
    • Create a new User.... go to System Preferences/ Accounts and click on "+" at bottom left of window..... and test the apps in this new account if they work the problem is isolated to your User
    (~ means your home directory)
    george w

  • Premiere Elements 11 won't launch

    G'day,
    I downloaded the trial version of PRE11 a few weeks ago, but I couldn't get it to run. Upon launch I get the welcome screen with two choices, to launch the Organizer or the Video Editor, but neither of these actually start. It seems as it is trying though, as I see a scrolling line below my choice after clicking it. No error code or anything like it, it simply won't start (and I don't see any process starting either).
    Nevertheless, a few days ago I bought PRE11 (Win/Mac DVD, English) and installed it. Exactly the same behaviour as with the trial, apart from one thing. When I try to lanuch the Video Editor I get the licence agreement. After agreeing, it's the same thing though, nothing happens.
    I've read this thread (http://forums.adobe.com/message/4773135) and tried to see if I had any of the symptoms described, or if any of the suggested solutions worked. So far, no luck. I tried Large_Donkey's solution (http://forums.adobe.com/message/4893868#4893868) with the msvcr80.dll and msvcr100.dll files, but it didn't make any difference. Same thing with VDOsurfer's reply (http://forums.adobe.com/message/4903592#4903592) I also tried primarykeytech's suggestion (http://forums.adobe.com/message/4905283#4905283) and downloaded Dependency Walker and ran both Premiere Elements 11.exe and Premiere Elements.exe. At first, it reported that IEShims.dll and gpscv.dll was missing/couldn't be loaded, so I added these to the Premiere Elements folder. Then I got a message (still while running Premiere Elements.exe in Dependency Walker) saying that sysntfy.dll was missing, so I added this one as well to the Premiere Elements folder. After this, I still get three messages in Dependency Walker, but no further description on which files it can't find:
    "Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
    Error: Modules with different CPU types were found.
    Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module."
    And none of these changes made any difference, I tried to launch the Video Editor and/or Organizer, but it's the same thing; won't launch, no error message. I've now resetted everything back to the way it was on installation, and tried to continue finding any solution.
    Some specs, even if maybe not all of these are relevant. If any other specs are needed, just inform me.
    Motherboard: Asus P6T Deluxe V2
    CPU: Intel i7 950 3,06GHz
    PSU: Corsair HX 650W
    RAM: Corsair XMS 12GB DDR3 2000MHz
    Graphics: Nvidia/Gigabyte GTX 460
    Sound: M-Audio Delta 1010LT
    Drives: 2x500GB WD Black HDD (programs and data), 1x120GB Intel X25-M SSD (OS)
    OS: Windows 7 Ultimate 64-bit
    Monitor: Dell U2711
    Thanks in advance for any help.

    Well, I tried the blacklist approach by adding a "blacklist.txt" file to the VST plugins folders I have, but to no avail. I also read the last post you made in the "Failure of Premiere to Launch - One Possibility VST's" thread, with the answers from Adobe Engineering. As that post was made almost 2 years ago, I somehow think this wouldn't be an issue in PrE 11 anymore?
    Anyway, while trying to launch Premiere Elements.exe ~200 times the last 24h, I've not noticed anything strange in Event Viewer, no errors or warnings connected to the launch of PrE (or, for that matter, no errors or warnings at all during the time I try to launch the program). One thing I did notice, though, is that the process Premiere Elements 11.exe actually starts (I chose not to display the welcome screen every time, but to launch the Video Editor right away) but then quickly terminates. Utually it manage to get between 15-20MB of memory before it crashes and terminate the process, only takes 1 or 2 seconds from launch to termination.
    Slowly losing my hope to actually discover the cause, as I'm shooting in the dark evey time (not getting any error messages or hints on what actually fails). Really needed to use PrE this week, maybe have to find some free alternative on the interwebs.
    Regards Henrik
    Edit: Searching deeper on the Adobe forums regarding VST scanning issues with PrPro/E, and it baffles me how long this error seems to have been going on, even if it's not 100% certain that is the error in my case.
    Edit2: Once again a shot in the dark, but I'm thinking my troubles may be due to multiple hard drives? As things are scattered over 3 discs (OS on one, programs on the second one and personal data on the third one) this might cause some path/reference issues? I was thinking this since Depencency Walker gives me the following error messages:
    "Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
    Error: Modules with different CPU types were found.
    Warning: At least one delay-load dependency module was not found.
    Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module."
    And it also states that it can't find IESHIMS.DLL and GPSVC.DLL (a road I already have been down earlier). This got me thinking PrE can't find the correct files from where it is installed (E:\Program Files\Adobe\Premiere Elements 11). On the other hand, I'm getting the exact same error messages on Photoshop CS5 (which runs fine), and the same two dll files seems to be missing. Even tried running a few other programs that work, such as games, though Depencency Walker, and even they seems to miss these dll files.

  • My X11 programs won't launch

    I have two applications that run under X11: Xephem and Open Office.
    About the time I upgraded to OS 10.5.4 I noticed that they wouldn't start. Today I looked at the discussion groups here and upgraded to X11 2.3.1. They still won't launch. Before they would just hang up without giving any error messages, but now when I try to start Xephem I get:
    sh: line 0: cd: /usr/local/xephem: No such file or directory
    sh: ../bin/xephem: No such file or directory
    It sounds like X11 just needs to be pointed to the proper directory, but I don't know how to do that. I never did get the hang of working with the command line.
    As for OpenOffice, I get this:
    The application soffice.bin quit unexpectedly.
    I don't know what to do about that.

    Looks like the upgrade might have done something to those application installs. The error you're seeing is from a wrapper script that is used to start Xephem. This script is looking for the actual binaries in a directory located in /usr/local/xephem, which now doesn't seem to exist on your system anymore. Likely it's looking for the "bin" subdirectory in that directory, in which would be the actual application binaries.
    In any event, this wrapper script can no longer find these directories. Before trying to do much manual digging to see what happened, I'd just try to reinstall Xephem. That should be a fairly safe thing to try...

  • Itunes upgraded but won't launch with Windows 7

    Hi
    I upgraded to the most recent version of iTunes 2 days ago (5 April 2010) and now iTunes simply won't launch at all. I have tried some of the remedies in the posts and have even tried a complete reinstall but iTunes still will ot launch.
    Does anyone have any suggestions? Thanks in advance

    I had the same problem: after updating to iTunes 9.1 (no errors) I just couldn't launch it. In Task Manager I saw that the iTunes process was running but it never really opened.
    After nights of frustration of scanning the net for solutions I finally managed to get iTunes to run again.
    1) Firstly I deleted the new iTunes 9.1 and all programmes associated with it according to the directions given here: http://support.apple.com/kb/ht1923
    It also mentions you should remove the Bonjour service but I could never make that work (no privileges or something like that).
    2) After that I reinstalled a previous version of iTunes. In this case 9.0.3.15. I got the download here: http://www.oldapps.com/itunes.php
    3) Then I disabled the Bonjour service with the MSCONFIG method mentioned at http://support.apple.com/kb/HT2292?viewlocale=en_US
    There they state that you should check which service clashes with Windows by trying to disable one service at a time. I found out pretty quickly that it was just the Bonjour service that caused the problems. All other services could run normally.
    After the reboot iTunes finally started up again and I was able to restore my library.
    Only thing is that I can not use the Remote App on my iPod Touch. That apparently required the use of Bonjour.
    I hope this method helps for some of you!
    Cheers,
    Bart

  • Itunes 10.1 won't launch on Windows 7 x64

    itunes version 10.1 for Windows 7 64-bit won't launch after install. I tried launching it under a different user. I tried disabling my antivirus software. I tried using the desktop shortcut, Start menu shortcut, and itunes.exe. The Event Viewer does not log any errors or warnings during installation or when trying to launch the app. I have tried uninstalling and reinstalling the app too. When trying to launch the app, no messages are received, absolutely nothing happens. I had the previous version of itunes installed on the same hardware configuration. During installation, no warnings or errors are received. I checked possible conflicts under msconfig.exe, but only a few apps are checked to start at startup.

    When trying to launch the app, no messages are received, absolutely nothing happens.
    Some questions in the interest of narrowing in on possible culprits with an error-message-free iTunes launch failure.
    (1) Does your QuickTime Player launch, or do you get an error message of some kind when you try to launch that?
    (2) If your QuickTime seems to be launching fine, try (by way of experiment) disabling the BonJour Service.
    In your Start Menu, right-click Computer and select "Manage".
    Expand "Services & Applications".
    Open "Services". (Maximise the window to better see what's going on.)
    Right-click the BonJour Service and select "Properties". In the "General" tab, set Start-up type to "Disabled".
    Restart the PC, and try launching iTunes again. Does it launch this time?
    If iTunes launches with the BonJour Service disabled, by any chance do you have a recent version of IOBit's Advanced SystemCare utility currently installed on the PC? If so, try uninstalling and reinstalling Advanced SystemCare. Can you launch iTunes without having to disable the BonJour Service now?

  • Switching touch events from symbols/classes to the main stage?

    For previous threads:
    http://forums.adobe.com/thread/864057
    http://forums.adobe.com/thread/863566
    http://forums.adobe.com/thread/864262
    http://forums.adobe.com/thread/863597
    Bug ID #2940816
    I have an app that wasn't compiling correctly. I sent the bug to Adobe who responded with a workaround. However, I can't figure out how to make their stated workaround work in my code.
    I have puzzle pieces on the stage. Each is assigned to a separate class. Inside the class I have touch events defining multiple touch events for each piece.
    I have another spot on the stage where, when it is touched, a puzzle piece appears. These are also each linked to a separate class. Inside this class I also have touch events defining multiple touch events for each piece.
    Though it works fine on my computer, it wasn't working on an iPad. Adobe said that I needed to switch the touch events so that they were assigned to the main stage instead of to each individual object.
    However, the code they gave me didn't really make sense in context and I'm confused how to implement it.
    This is the code in the class for each piece that is created when you touch the stage:
            public function GeoPiece(): void {
                if (PuzzleGlobals.currentLevel == "Name") {
                    this.gotoAndStop("wholeName");
                else if (PuzzleGlobals.currentLevel == "Abbrev") {
                    this.gotoAndStop("abbrev");
                else if (PuzzleGlobals.currentLevel == "Shape") {
                    this.gotoAndStop("shape");
                this.addEventListener(TouchEvent.TOUCH_MOVE, geoPieceBegin);
            public function geoPieceBegin (e:TouchEvent): void {
                PuzzleGlobals.pieceActive = true;
                e.target.startTouchDrag(e.touchPointID, false);
                e.target.addEventListener(TouchEvent.TOUCH_END, geoPieceEnd);
                e.target.interactionBegin();
                MovieClip(this.parent.parent).nameDisplay.gotoAndStop(e.target.abbrev);
                PuzzleGlobals.currentPiece = e.target.abbrev;
            public function geoPieceEnd (e:TouchEvent): void {
                PuzzleGlobals.pieceActive = false;
                if (currentObjOver.isLocked == true) {
                    currentObjOver.gotoAndStop ("Lock");
                else {
                    currentObjOver.gotoAndStop ("Out");
                MovieClip(this.parent.parent).nameDisplay.gotoAndStop(PuzzleGlobals.chosenPuzzle);
                e.target.stopTouchDrag(e.touchPointID);
                if (this.dropTarget.parent is GeoPuzzle) {
                    if (GeoPuzzle(this.dropTarget.parent).abbrev == e.target.abbrev) {
                        PuzzleGlobals.statesCompletedUSA++;
                        GeoPuzzle(this.dropTarget.parent).isLocked = true;
                        GeoPuzzle(this.dropTarget.parent).gotoAndStop("Lock");
                        e.target.parent.removeChild(DisplayObject(e.target));
                    else {
                        //play BOOP sound indicated wrong drop;
                if (PuzzleGlobals.statesCompletedUSA == PuzzleGlobals.TOTAL_NUMBER_USA) {
                    //play fireworks game
                else {
                    //do nothing
                e.target.removeEventListener(TouchEvent.TOUCH_END, geoPieceEnd);
            public function interactionBegin () {
                if (this.dropTarget != null && this.dropTarget.parent is GeoPuzzle) { //check to make sure it's over a puzzle piece
                    currentObjOver = GeoPuzzle(this.dropTarget.parent);
                    currentObjOver.gotoAndStop("Over");
                if (lastObjOver != currentObjOver) {
                    if (lastObjOver.isLocked == true) {
                        lastObjOver.gotoAndStop("Lock");
                    else {
                        lastObjOver.gotoAndStop("Out");
                    lastObjOver = currentObjOver;
    This is the code in the class for each piece that's already on the stage:
            public function GeoPuzzle(): void {
                if (this.isLocked == true) {
                    this.gotoAndStop ("Lock");
                if (PuzzleGlobals.pieceActive == true) {
                    this.addEventListener(TouchEvent.TOUCH_BEGIN, geoPuzzleBegin);
            public function geoPuzzleBegin (e:TouchEvent): void {
                e.target.addEventListener(TouchEvent.TOUCH_END, geoPuzzleEnd);
                e.target.gotoAndStop("Over");
                MovieClip(this.parent).nameDisplay.gotoAndStop(e.target.abbrev);
            public function geoPuzzleEnd (e:TouchEvent): void {
                if (e.target.isLocked == false) {
                    e.target.gotoAndStop("Off");
                else if (e.target.isLocked == true) {
                    e.target.gotoAndStop("Lock");
                MovieClip(this.parent).nameDisplay.gotoAndStop(PuzzleGlobals.chosenPuzzle);
                e.target.removeEventListener(TouchEvent.TOUCH_END, geoPuzzleEnd);
    You can see that each piece (whether it's already locked on the stage or movable) reacts differently to different touch events. However, this is the code that Adobe gave me as a workaround:
    this.stage.addEventListener(TouchEvent.TOUCH_BEGIN, onTouchEvent);
    this.stage.addEventListener(TouchEvent.TOUCH_MOVE, onTouchEvent);
    this.stage.addEventListener(TouchEvent.TOUCH_END, onTouchEvent);
    var beginCount:uint=0;
    var moveCount:uint=0;
    var endCount:uint=0;
    function onTouchEvent(event:TouchEvent):void{
         switch (event.type){
              case TouchEvent.TOUCH_BEGIN:
                             trace("BEGIN")
                             beginCount++;
                             square.x = event.stageX;
                             square.y = event.stageY;
                             square.startTouchDrag(event.touchPointID, false);
                             break;
              case TouchEvent.TOUCH_MOVE:
                             trace("MOVE")
                             moveCount++;
                             break;
              case TouchEvent.TOUCH_END:
                             trace("END")
                             endCount++;
                             square.stopTouchDrag(event.touchPointID);
                             break;
         trace("begin: "+beginCount+" move: "+moveCount+" end: "+endCount);
    //     countText.text = "begin: "+beginCount+" move: "+moveCount+" end: "+endCount;
    This doesn't make any sense to me because it seems that it would only work if touching the stage had to react in just a single way. I have multiple pieces that need to each react differently.
    1. The pieces that are locked to the stage need to highlight when touched and display their name.
    2. These pieces also need to keep themselves highlighted and their names displayed when the touch is dragged off of them instead of just removed.
    3. Each piece needs to be created when touching the Puzzle Piece button the stage. As these pieces are dragged, they need to highlight the pieces underneath them and unhighlight them when they are dragged off. They also need to display their own names, and lock into place when they are dragged over the correct piece.
    My questions are:
    1. Why don't touch events work in the compiler?
    2. How can I translate my current working code's touch events to all be directly linked to the stage instead of their objects?
    Thanks so much!
    Amber

    I am going to copy and paste this answer into all of the forums I've asked this question in case some noob like me comes along and needs the answer.
    I found the problem! After 3 months I finally figured out what was wrong and why my app was working in Device Central when exported as Flash 10.1 and not on my iPad when exported as AIR for iOS.
    The problem is that in the Flash runtime, if a line of code returns a bug, the flash runtime says "Error, shmerror, try again next time." So I had one if, else statement that was executing when it wasn't supposed to be - only once, at the very beginning of the program. It was throwing an error. When I exported as Flash, flash didn't care, and still executed the code later when it was supposed to. But Apple won't let their programs crash. So instead of just trying that code again, Apple decided, after the first error was thrown, that it would then COMPLETELY IGNORE that line of code. So the error was in the line where the states would unhighlight themselves. Apple just shut down that line of code, that's why it wouldn't execute properly.
    I ended up changing this line of code
    if (lastObjOver != null && lastObjOver.isLocked == true)
    which threw an error when the piece was FIRST dragged over the puzzle, to to this
    if (lastObjOver.parent != null && lastObjOver.isLocked == true)
    which wouldn't throw the error.
    Problem solved!
    If anyone else is having this problem, I suggest you do what I did. Change all your touch events to mouse events so you can run the program in the adc debugger. That's when I discovered the error being thrown.

  • No touch event is generated from mac book pro trackpad

    I am developing a multiltouch javafx application on mac, but no touch event was caught by the handler using trackpad. The event handlers are added to scence.
    I am using JDK1.7.0_07.
    Any one has any idea.
    Thanks.

    I don't think this will work. The javadocs for the TouchEvent explicitly state
    "Touch event indicates a touch screen action."
    The trackpad is not a touch screen.
    The trackpad will generate GestureEvents. Again, from the javadocs:
    "Gestures are typically caused by direct (touch screen) or indirect (track pad) touch events."
    So you can handle things like ScrollEvent, RotateEvent, and ZoomEvent. I think the mapping between physical gestures on the trackpad and semantic events is managed by the OS (so behaviors might change if the user changes trackpad settings in System Preferences, for example). It doesn't sound like this will meet your needs, but maybe...
    I don't know if there's any other way to interact with the trackpad (someone else surely will).
    Here's a simple way to see what events are being generated (it will generate quite a lot of output).
    import javafx.application.Application;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.input.InputEvent;
    import javafx.scene.layout.AnchorPane;
    import javafx.stage.Stage;
    public class TouchTest extends Application {
      @Override
      public void start(Stage primaryStage) throws Exception {
        Scene scene = new Scene(new AnchorPane(), 400,400);
        scene.addEventHandler(InputEvent.ANY, new EventHandler<InputEvent>() {
          @Override
          public void handle(InputEvent event) {
            System.out.println(event.getEventType().getName());
        primaryStage.setScene(scene);
        primaryStage.sizeToScene();
        primaryStage.show();
      public static void main(String[] args) {
        launch(args);
    }

  • ITunes suddenly won't launch

    I suddenly can't launch iTunes. I have followed Apple's iTunes uninstall procedure to the letter, restarted my computer and downloaded and reinstalled iTunes, the latest version. It won't even open.
    It crashed while I was updating my iPod Touch. I realised it was filing the empty space with music which was going to take too long and clicked off the option. The program suddenly crashed and now won't launch. I removed everything to do with iTunes and reinstalled it several times. Still not working. Are there other files that iTunes uses that are not listed but might be causing the problem? I don't want to have to reinstall the entire operating system and all my programs again just to use iTunes.

    Oh yeah... I tried deleting the com.apple.iTunes.plist file. Didn't do anything. Also verified the disk (no issues) and repaired permissions. None of that fixed it...

  • HT203107 Safari won't launch following update. Any fixes?

    Just installed update and Safari won't launch. Any patches or fixes?

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    Don't be put off by the complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. As I wrote above, it changes nothing. It doesn't send or receive any data on the network. All it does is to generate a human-readable report on the state of the computer. That report goes nowhere unless you choose to share it. If you prefer, you can act on it yourself without disclosing the contents to me or anyone else.
    You should be wondering whether you can believe me, and whether it's safe to run a program at the behest of a stranger. In general, no, it's not safe and I don't encourage it.
    In this case, however, there are a couple of ways for you to decide whether the program is safe without having to trust me. First, you can read it. Unlike an application that you download and click to run, it's transparent, so anyone with the necessary skill can verify what it does.
    You may not be able to understand the script yourself. But variations of the script have been posted on this website thousands of times over a period of years. The site is hosted by Apple, which does not allow it to be used to distribute harmful software. Any one of the millions of registered users could have read the script and raised the alarm if it was harmful. Then I would not be here now and you would not be reading this message.
    Nevertheless, if you can't satisfy yourself that these instructions are safe, don't follow them. Ask for other options.
    4. Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    5. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    6. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    7. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts SerialATA 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports ' com.clark.\* \*dropbox \*genieo\* \*GoogleDr\* \*k.AutoCAD\* \*k.Maya\* vidinst\* ' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 "` route -n get default|awk '/e:/{print $2}' `" 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB ' com.adobe.AAM.Updater-1.0 com.adobe.AAM.Updater-1.0 com.adobe.AdobeCreativeCloud com.adobe.CS4ServiceManager com.adobe.CS5ServiceManager com.adobe.fpsaud com.adobe.SwitchBoard com.adobe.SwitchBoard com.apple.aelwriter com.apple.AirPortBaseStationAgent com.apple.FolderActions.enabled com.apple.installer.osmessagetracing com.apple.mrt.uiagent com.apple.ReportCrash.Self com.apple.rpmuxd com.apple.SafariNotificationAgent com.apple.usbmuxd com.citrixonline.GoToMeeting.G2MUpdate com.google.keystone.agent com.google.keystone.daemon com.microsoft.office.licensing.helper com.oracle.java.Helper-Tool com.oracle.java.JavaUpdateHelper com.oracle.java.JavaUpdateHelper org.macosforge.xquartz.privileged_startx org.macosforge.xquartz.privileged_startx org.macosforge.xquartz.startx ' ' 879294308 4071182229 461455494 3627668074 1083382502 1274181950 1855907737 2758863019 1848501757 464843899 3694147963 1233118628 2456546649 2806998573 2778718105 2636415542 842973933 2051385900 3301885676 891055588 998894468 695903914 1443423563 4136085286 523110921 2883943871 3873345487 ' 51 5120 files );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n-\t%s\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' s/[0-9A-Za-z._]+@[0-9A-Za-z.]+\.[0-9A-Za-z]{2,4}/EMAIL/g;/faceb/s/(at\.)[^.]+/\1NAME/g;/\/Shared/!s/(\/Users\/)[^ /]+/\1USER/g;s/[-0-9A-Fa-f]{22,}/UUID/g;' ' s/^ +//;/de: S|[nst]:/p;' ' {sub(/^ +/,"")};/er:/;/y:/&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: (E[^m]|[^EO])|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Genesy|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<10) print "com.apple.";} ' ' { sub(/ :/,"");print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/^root$/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1100) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' ' /Temp|emac/{next};/(etc|Preferences|Launch[AD].+)\// { sub(".(/private)?","");n++;print;} END { split("'"${p[41]}"'",b);split("'"${p[42]}"'",c);for(i in b) print b[i]".plist\t"c[i];if(n<500) print "Launch";} ' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.([bw]|plu)/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| |\n","\\|\\|kMDItem'${p[35]}'=");sub("^...."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[43]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/{next};/%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|BKAg|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";p="uniq -c|sed -E '"'s/ +\\([0-9]+\\)\\(.+\\)/\\\2 x\\\1/;s/x1$//'"'";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]$1|p;b=b$1;} END { close(p);if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n   "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n   [N/A]";"cksum "F|getline C;split(C, A);C="checksum "A[1];"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text(, with v.+)?$|(Bo|PO).+ sh.+ text ex|XM)/) F=F" ("T", "C")";else F=F" ("C")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n   ...and %s more line(s)\n",l-L);} ' ' s/^ ?n...://p;s/^ ?p...:/-'$'\t''/p;' 's/0/Off/p' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / / { print "'"${p[28]}"'";exit;};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9|"sort|uniq";} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' ' /l: /{ /DVD/d;s/.+: //;b0'$'\n'' };/s: /{ /V/d;s/^ */- /;H;};$b0'$'\n'' d;:0'$'\n'' x;/APPLE [^:]+$/d;p;' ' /^find: /d;p;' "`S0 44 45`" ' BEGIN{FS="= "} /Path/{print $2} ' ' /^ *$/d;s/^ */   /;' ' s/^.+ |\(.+\)$//g;p ' '/\.(appex|pluginkit)\/Contents\/Info\.plist$/p' ' /2/{print "WARN"};/4/{print "CRITICAL"};' ' /EVHF|MACR|^s/d;s/^.+: //p;' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps crontab iotop top pkgutil 'PlistBuddy 2>&1 -c "Print' whoami cksum kextstat launchctl smcDiagnose sysctl\ -n defaults\ read stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' pluginkit scutil dtrace profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil lsof test osascript\ -e );c2=(com.apple.loginwindow\ LoginHook '" /L*/P*/loginw*' "'tell app \"System Events\" to get properties of login items'|tr , \\\n" 'L*/Ca*/com.ap*.Saf*/E*/* -d 1 -name In*t -exec '"${c1[14]}"' :CFBundleDisplayName" {} \;|sort|uniq' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' :${p[35]}\" :Label\" '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$(RefProc): \$Message' -k Sender Req 'fsev|kern|launchd' -k RefProc Rne 'Aq|WebK' -k Message Rne 'Goog|ksadm|probe|Roame|SMC:|smcD|sserti|suhel| VALI|ver-r|xpma' -k Message Req 'abn|bad |Beac|caug|corru|dead[^bl]|FAIL|fail|GPU |hfs: Ru|inval|jnl:|last value [1-9]|NVDA\(|pagin|proc: t|Roamed|rror|SL|TCON|Throttli|tim(ed? ?|ing )o|WARN' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cght] ! -name .?\* ! -name \*ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '/S*/*/Ca*/*xpc* >&- ||echo No' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,Ex}* {/,}L*/{A*d,Ca*/*/Ex,Co{mpon,reM},Ex,In{p,ter},iTu*/*P,Keyb,Mail/B,Pr*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -path \\*s/Resources -prune -o -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,{[lp],sy}*.conf,mach_i*/*,pam.d/*,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t {/S*/,/,}L*/Lau*/*t .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers\ "${p[N5]}" -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' '+c0 -i4TCP:0-1023' com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' '-app Safari WebKitDNSPrefetchingEnabled' "+c0 -l|awk '{print(\$1,\$3)}'|sort|uniq -c|sort -n|tail -1|awk '{print(\$2,\$3,\$1)}'" -m 'L*/{Con*/*/Data/L*/,}Pref* -type f -size 0c -name *.plist.???????|wc -l' kern.memorystatus_vm_pressure_level '3>&1 >&- 2>&3' " -F '\$Time \$Message' -k Sender kernel -k Message CSeq 'n Cause: -' " );N1=${#c2[@]};for j in {0..9};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents XPC\ cache Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls Prefetching SATA Descriptors App\ extensions Lockfiles Memory\ pressure SMC Shutdowns );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};A'$((7+i))'() { v=` eval sudo "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};';done;A9(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0() { [[ "$v" ]]&&sed -E "$s"<<<"$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v"|sed -E "$s";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "${s[63]}"<<<"$v"`&&C1 1 $1;};for i in 1 2 7 8;do for j in 0 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;D20 0 $((N1+1)) 2;D10 0 $N1 1;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;D13 0 $((N1+9)) 59 50;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;B1&&D73 19 53 67 55;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 54 12 56;D23 5 14 12 14;D22 6 36 13 15;D22 20 52 66 54;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D82 35 49 61 51;D82 11 17 17 20;for i in 0 1;do D82 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A8 18 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;B3 4 0 65;A3 14 6 32 0;B4 0 16 11;A1 26 50 64;B7 16;C3 52;D13 24 24 32 31;D13 25 37 32 33;A2 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D73 21 0 32 19;D73 10 42 32 40;D82 29 35 46 39;};D23 14 1 62 42;D12 34 43 53 44;D12 22 20 32 25;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 21 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D83 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 10 42 32 41;D13 37 2 48 43;D13 4 5 32 1;D13 4 3 60 5;D12 21 48 49 49;B3 4 22 57;A1 21 46 56;B7 22;B3 0 0 58;C3 47;D22 4 4 50 0;D12 4 51 32 53;D23 22 9 37 7;A9;C2 2;} 2>/dev/null|pbcopy;exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    8. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    9. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter
    exec bash
    and press return. Then paste the script again.
    10. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return  three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    11. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report what happened. No harm will be done.
    12. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with the words "Start time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    13. When you post the results, you might see an error message on the web page: "You have included content in your post that is not permitted," or "You are not authorized to post." That's a bug in the forum software. Please post the test results on Pastebin, then post a link here to the page you created.
    14. This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

Maybe you are looking for