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.

Similar Messages

  • In Logic Pro or Pro X Meta Events don't work correctly; for example inserting Stop Playback number 52 in a specific position the playhead stops wrongly several ticks before. Then the button play does not start.

    In Logic, Pro or Pro X Meta Events don't work correctly; for example inserting Stop Playback number 52 in a specific position the playhead stops wrongly several ticks before. Then the button play does not start.

    Curious if what your describing is similar to issue 4 which starts around 9:15 in video...
    https://youtu.be/q93jdOhi4Oc
    If so this started for me, or at least I noticed it for the first time in LPX 10.1.1. What version of logic are you running?
    I've recently found that this issue also affects note timing on instrument tracks that use the "External Instrument" plugin.

  • Why my ipod touch buttons don't work?

    Last nigth I was listening to my music library and after a few hours I fell asleep. This morning, both home and sleep button stopped working. Could anyone tell what is wrong with my ipod touch...??

    If you've reset and restored and the buttons still don't work, then it needs service. Either take it along to an Apple store, or send it in.
    http://depot.info.apple.com/ipod/

  • IPod Touch keys don't work

    Hi,
    I'm having a problem with my iPod Touch (1 GEN)
    All of a sudden my (1/Q) key and my key don't work. I can't touch them.
    I've restored. I've updated the latest firmware and nothing seems to help.
    Can anyone help me with this problem.

    I had a similar problem with a different set of keys. The keyboard function had failed. It happened with mine 3 days after I got it and there was no issue taking it back and doing a simple exchange for a brand new one. Depending on your warranty situation, get it back to where you bought it or Apple.
    My problem was with cfr5

  • Streamed events don't work: Timed Out message

    I know I've posted a message here on this subject, so please forgive me.
    The problem I've got is that my admin account can't successfully see any of the Apple webcasts. Quicktime launches and goes through a negotiation process but then just times out. Changing the streaming protocol to HTTP80 doesn't work, when this is selected I simply get "connection failed".
    The odd thing is that a standard user account that I'd previously set up on the computer works like a charm, no problems at all. So, what's up do you think?
    The even odder thing is, if I now add another user account to the machine then the behaviours of the new account match that of my main admin account. ie, Quicktime webcasts don't work.
    I've tried the deleting the webplugin but that has had little or no positive effect.
    Any advice is very welcome, short of re-installing my system (which I'm almost tempted to do!!)
    Best regards

    *A few suggestions:*
    Repair permissions & restart your computer.
    Check your QT MIME Settings.
    System Preferences>Quicktime>Advanced
    Click on the MIME Settings button.
    In the next window that opens up make sure that Streaming-Streaming movies is enabled (checked).
    While you’re at it make sure all the boxes are enabled by clicking on the corresponding triangles so that they are pointed down.
    This will show the “hidden” boxes especially the Video box. This box will enable you to play .avi files.
    Click the OK button.
    Now click Streaming
    Your settings you should be (as starters):
    Streaming Speed: Automatic
    Make sure Enable Instant-On is enabled (checked).
    Now click on Browser
    Make sure:
    Play movies automatically
    Save movies in disk cache
    Are both enabled.
    Movie download Cache Size: Slider set all the way to the left.
    Restart your computer.
    Consider updating your OS to the last & latest Tiger version - 10.4.11 along with all other updates that goes with it from the Software Update control panel.

  • Mouse events don't work on a button from a panel ran in a DLL

    Hi.
    I have a DLL that loads a panel.
    Since it's a DLL I can't do the RunUserInterface() function, because the DLL would be stuck waiting for the panel events.
    I only do the LoadPanel().
    When I click with the mouse on one of the buttons, the pushing down event (simulating the button being pressed) doesn't happen and the callback doesn't run.
    But if I press the tab button until the focus reaches the button and press Enter, the callback of the button is executed.
    An even more interesting aspect is that this happens when I call the DLL on TestStand, but on an application of mine that calls the DLL just for debug everything works fine.
    How can I enable the mouse events?
    Thanks for your help.
    Daniel Coelho
    VISToolkit - http://www.vistoolkit.com - Your Real Virtual Instrument Solution
    Controlar - Electronica Industrial e Sistemas, Lda
    Solved!
    Go to Solution.

    Hello Daniel,
    I got surprised when I read your post, because I am experiencing something almost the same as you do.
    I have a DLL (generated by an .fp instrument driver I wrote) which performs continious TCP communication with the UUT.
    It starts 2 threads, each for reading from one of the 2 different IPs the UUT has.
    Another DLL tests this UUT (with the help of the communication DLL above) by exporting functions to be called by TestStand steps.
    If the second DLL wants to display a CVI panel in order to wait for the user response or displays a popup (MessagePopup, ConfirmPopup, etc), user cannot press the buttons.
    Actually, there is a point your program and mine differ. I call RunUserInterface and the button's callbacks call QuitUserInterface, so the execution continues after a button is pressed. The problem is buttons cannot be pressed. I also tried looping on GetUserEvent  but it did not solve the problem.
    There are 2 findings:
    1. I had a small exe to test my instrument driver DLL and the popups in it worked pretty well (this coincides with Daniel's findings).
    2. We workedaround the problem by shutting down the communication threads in the instrument driver DLL before the popup appears and restrating them afterwards. Although they are separate threads in another DLL, they were somehow blocking user events on another DLL running.
    S. Eren BALCI
    www.aselsan.com.tr

  • What to do if the buttons on your iPod touch 5 don't work?

    I have had my iPod 5 touch for slightly less than a year. It has been working great however just yesterday my iPod has not been responding when i touch it. For example i can use the home button but when i try to put my password pin in its like I'm not even touching it, it doesn't work. The weird  thing is only half of the numbers are responding; numbers near the bottom like 0 9 8 7 6 work but not the rest. This is a very big issue because i can't use my iPod. Please answer as soon as possible.
    PS i have restarted the iPod a couple times with the home button and off button but it doesn't seem to work

    Hello there, Rawan12.
    Sounds like you've done some great troubleshooting so far. The following Knowledge Base article provides some additional steps and recommendations to further resolve the issue you're describing:
    iPhone, iPad, iPod touch: Troubleshooting touchscreen response
    http://support.apple.com/kb/ts1827
    Restart your device
    Hold the On/Off button until "slide to power off" appears. Slide to power off your device. When it is off, press the On/Off button to turn it back on.
    If you can't restart your device, reset it by pressing and holding the Sleep/Wake button and the Home button at the same time for a least ten seconds, until the Apple logo appears.
    Clean the screen with a soft, slightly damp, lint-free cloth.
    Avoid using the device while wearing gloves, with wet hands, or immediately after applying hand lotion.
    If you have a protective case, or if you are using a plastic sheet or film on the display, try removing them and testing the device without it.
    If the steps above don't resolve your issue, please schedule a service appointment with an Apple Retail Store for evaluation. If an Apple Retail store is not an option, contact Apple to find out your best service option or see the Service FAQ for your product.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Quicktime DOM events don't work in IE

    Has anyone solved this issue: (http://discussions.apple.com/thread.jspa?threadID=1859003&tstart=0)
    I have tried the suggested techniques. I can get QT events working in FireFox, Safari, and even Chrome. But nothing I do makes IE work. I am going to have to move to Flash soon for my solution.

    The problem is the "a" tag should be written like:
    <a href="[link here]">Visible Text Here</a>
    You are missing that end.
    But again, back to #2, why do you have an "a" link tag there?  These are inputs for a form.  So your form action should be the link that you have in the "a" tag.  If you just want an image that goes to another page, don't use form elements, just use an image with an "a" tag around it.
    Even the first part of your code still has validation issues now that I look back at it:
    <div id="deadline_div">Registration Deadline: Sept 21, 2012</div>
        <div id="gold_add_div"><br></br><input type="hidden" name="storeid" value="*30b37dbf574fef4e8006b0a2fb04bef6a64a024defdac914c331"/>
    Should be:
    <div id="deadline_div">Registration Deadline: Sept 21, 2012</div>
        <div id="gold_add_div"><br></br><input type="hidden" name="storeid" value="*30b37dbf574fef4e8006b0a2fb04bef6a64a024defdac914c331">
    And that would mean you are missing a </div> at the end and you should use "padding-top" attribute of CSS on your gold_add_div and not 2 "br" tags.

  • My touch ID don't work with any of my fingers.

    I've already tried to save my id again in the phone but work sometimes and after not anymore.

    Resolving issues with Touch ID
    Make sure that you're using the latest version of iOS.
    Make sure that your fingers and the Home button are clean and dry.*
    Note: Cover the Home button completely. Don't tap too quickly, don't press down hard, and don't move your finger while Touch ID is scanning. Make sure that your finger touches the metal ring around the Home button.
    If you're using a protective case or screen protector, it must leave the Home button and the surrounding ring completely unobscured. If it doesn't, remove the case or screen protector and try again.
    Tap Settings > Touch ID & Passcode and verify that:
    iPhone Unlock or iTunes & App Store is on.
    You enrolled one or more fingerprints.
    Try enrolling a different finger.
    If you can't enroll any of your fingers, take your iPhone 5s to an Apple Retail Store, Apple Authorized Service Provider, or contact AppleCare for further assistance.
    * Moisture, lotions, sweat, oils, cuts, or dry skin might affect fingerprint recognition. Certain activities can also temporarily affect fingerprint recognition, including exercising, showering, swimming, cooking, or other conditions or changes that affect your fingerprint.

  • IPod Touch Apps don't work after connecting to PC!

    Hi, can anyone help please?
    I have an iMac at home and a PC at work, so use my iPod Touch between the two.
    However, after I've connected my Touch to the work PC, pretty much every application doesn't work, and they will only work again once I've connected it back at home to my iMac!
    Whatever application I open will start loading, then after about 3 seconds it just boots me back to the homepage...
    It's driving me mad as there's no logical reason for it that I can see! The only things that still work are the music, video, photo and itunes tabs at the bottom!
    However, once I've reconnected to the Mac at home they all work fine! And continue to work fine until the next time I connect to the work PC!
    Any thoughts or fixes gratefully received!

    Is the other machine "authorized" at the iTunes store? If not, it's probably overwriting the authorization of the home machine.

  • Pavilion dv7 entertainment PC keyboard and touch pad don't work.

    Hey I just updated my computer from hp health check and now my built in key board and mouse are not working. I tried restarting it and even taking out the battery holding the power button for 30 sec and that didn't even work so now I'm stuck on what to do and my web browser says I can't talk to any one live at the moment. Please help I have a paper I need to type by friday and this usb keyboard doesn't work very well.

    Try pressing the fn key and f2 to reach bios
    or
    try a usb mouse from your desktop
    S70-ABT2N22 Windows 7 Pro & 8.1Pro, C55-A5180 Windows 8.1****Click on White “Kudos” STAR to say thanks!****

  • Ipod touch battery don't work that good

    Hi I have an iPod touch 4g 8gb and I have battery problems I got it used. When I charge it it takes about 20 min to fully charge
    then i use it for abut 20 min its dies can u guys help please thanks

    Yu can try the following but I suspect a bad battery:
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar                              
    Apple will exchange your iPod for a refurbished one with a new battery for $79. They do not fix yours.
    Apple - iPod Repair price                       
    A third-party place like the following will replace yur battery for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the battery yourself if you are up to it. You can purchase a replacement battery for about $10
    iPod Touch Repair – iFixit

  • X-fi xtreme audio pci ret (sb790) don't working as a midi device on win 7

    windows 7 don't see subject card as a midi device.
    old sbli've 5.. didn'd work properly on win 7 so bought sb790 just for the soundfont use.
    soundfont manager failed to initialize(it's for xp,so that's maybe not ?surprising), soundfonts in sonar do not working.
    installed drivers are from creative support page. speakers works good, but as a midi device card is just don't exist.

    =}Uninstall everything you have installed (driver and software) and then try this,
    http://forums.creative.com/t5/Sound-...-LS/td-p/55334

  • CC don't work on the second device (edu)

    I am a student from Amsterdam. Since last month I installed Adobe CC on my iMac at home.
    Today I try the same on my iMac by my parentsat home. Unfortunately Adobe CC asks for serial number or trial versions every time. What should I do?
    The conditions state that I can use Adobe CC on two own devices.
    1) I open a app (Flash for example)
    2)
    3)
    4)
    Why did Adobe CC no apparten management so you can see which device you use account? I've never been on more than two devices installed so it can not lie. I hope you can help so that I can continue school with me.

    I've been on both computers removed and reinstalled everything in English. The programs are removed with AdobeCreativeCloudCleanerTool.dmg.
    Unfortunately without success. I get the same message. Help!
    Edit
    I have Creative Cloud Student and Teacher Edition Subscribe now but not specific for a language.

  • Touch sensitive multimedia buttons don't work ! (Toshiba Satellite M645-S4050)

         I've Toshiba Satellite M645-S4050. My multimedia touch buttons don't work except Vol+ and Vol-. All of them are making sounds when I touched but no action! 1) I uninstalled Toshiba Value Added Package (TVAP), 2) rebooted the machine, 3) installed TVAP then 4) rebooted again. But nothing's changed. 5) I reinstalled all Toshiba Utilities includes Assist and Flash Cards but same result. Also 6) I unplugged the battery and AC adapter because of static energy issue possibility and 7) choosed the default settings from the BIOS menu. Still same ! What am I supposed to do ?

    If it's under warranty, I'd send it back to Toshiba and have them fix it right this time. It took 2 repairs for the Depot to fix my problem, by replacing the mother-board.
    Call customer relations and try to get it sent to Toshiba "VIP" Tri-Star repair facility in Garden Grove CA 92843, they repair it when their regular service tech's can't get it right the first, or second time.
    Fix it now, or it will be a hassle for you as long as you own it.

Maybe you are looking for