Touch input lag on air 2.6?

Hi all. I just got my project to compile on air 2.6 for the first time and the performance improvement is excellent but I have one important problem. I have what is essentially a button that when you touch it it does something. But my problem is that I have to touch and hold the button for about a second for it to respond. Not all of my "buttons" are doing this and this worked perfectly before in PFI and even works correctly in flash cs 5 debugger. I've got the rendermode set to gpu. Any ideas on what might be causing this behavior?
Thanks
-Scott

Ok well first I have to explain what was going on. My app's navigation is very similar to that of the main iOS icon screen. You touch anywhere in the screen, move your finger up or down and the screen moves (very smoothly now thanks to air 2.6). Some screens have buttons and like iOS if you are moving your finger while on a button it will not trigger (so we don't activate things when we want to move the screen, pretty nifty thinking on Apples part). This is a custom peice of code which does the following:
first it stores the current stage.mouseY in a variable called mouseMoveYtest
Then it starts a 650 milisecond counter which then triggers a function that:
if mouseMoveYtest - stage.mouseY is less than 10
>>do the button's functions
Why did it work before and not now?
Well there is a subtle difference in how the mouseY is handled WHEN the "mouse", in this case your finger, is removed from the screen. In Flash debugger the mouse is never removed so as long as I'm not moving the mouse while the mouse is up the function may trigger.
But with air 2.6 the difference is that when the finger is removed it is not behaving as if a hidden mouse cursor is hovering over that area of the screen like it did with PFI. This had the effect such that mouseMoveYtest was always greater than 10 and would only trigger if I held my finger down for more than 650 seconds.
Hope this is of some help to you. Good luck figureing out your problem!

Similar Messages

  • Dragging input lag in Air 2.6 iOS

    I'm creating a drag and drop application using Air 2.6 and compiling for iOS and testing on an iPad 1.
    I see quite a bit of input lag when I drag something around and my finger moves too fast, the item trails what seem to be several frames behind where my finger is.
    The structure of my code is something like this:
    public class Dragger
    dragging:Boolean = false;
    public function Dragger()
        surface.addEventListener(Event.ENTER_FRAME, handleEnterFrame);
    private function handleEnterFrame(e:Event):void
        if (dragging)
         selectedItem.x = surface.mouseX;
         selectedItem.y = surface.mouseY;
    I've also tried listening for MOUSE_MOVE events with the same (rather large) level of lag.  I've used native applications that have better responsiveness than I have achieved.   Has anyone figured out how to get less lag when dragging?

    You should use touch events, not mouse events.
    ...well in your case your not useing any events for it, but still you don't really want to look for mouse data.
    here are some tuts on it
    http://gotoandlearn.com/play.php?id=122
    http://gotoandlearn.com/play.php?id=119
    i have no time to show, but can search for as3 touch events example, you will get much smoother dragging

  • IOS app touch input not working with Adobe AIR

    I believe the problem here is my touch input but I'm not positive.
    This is my first iOS application. I'm making the game for both Android and iOS and it works perfect on Android, however when I sent it out ot my iPhone testers, they were unable to get past my "Tap to Play" screen.
    I'm using mouse events for the touch/click and this is no problem on Android and all of my research says touch events work fine for iPhones as well. Is there another way I should be handling this event?
    Below is the code that loads the next swf. Again, it works perfect on PC, and multiple Android devices.
    TouchToPlay.addEventListener(MouseEvent.CLICK, page1);
    function page1(event: MouseEvent)
         MovieClip(stage.getChildAt(0)).loadThisScreen("Menu.swf");
    Like stated above, it seems as if iOS doesn't/isn't recognizing the MouseEvent. Why is this?

    A major difference is Android supports Flash up to 11.2, so you can be getting away with it for that.
    For mobile, there's absolutely no reason not to simply convert to using TouchEvent.
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/TouchEvent .html
    They work almost identical, simple CONST changes between (MOUSE_DOWN is TOUCH_BEGIN, etc).
    What MouseEvent doesn't support is gestures, so why would you use an event model with less features like MouseEvent over Touch?

  • Crazy input lag in digital painting software

    Hi,
       at work I have a MacBook Air 13" Mid-2012 (CPU i5 1.8 GHz, SSD 128 GB, RAM 8 GB, OS X 10.8.5) connected to an external monitor (DELL ultrasharp). I tried to use this computer with some digital painting software (like Adobe Photoshop, Corel Painter and GIMP) via Wacom Intuos 4, but I have always the same problem: heavy input lag, I am not comfortable to paint anything with this lag. This problem occurs with mouse too (if I try to paint a long line with mouse the lag is still there); I do not have this problem under Windows 8 on another computer with my Wacom Intuos 4 (this means the problem is related to MacBook Air and/or Mountain Lion). Should I switch back to my old workstation with Windows?
    Thx for any help
    Paolo
    P.S.
    All drivers and software are updated, I tried SmoothMouse and similar software but the problem is still there.

    Hi Kelmen,
    "clicking mouse or keyboard will causing obvious lagging/short-hanging in game, like 1-2 seconds. if i move mouse it is ok. this will keep occuring for like 15-30 secs, after that, issue will gone."
    According to my own experience ,it is a normal symptom .
    During the booting process of the games ,there are many system resources occupied by the games.So it is reasonable ,we will come across a little lag issue.We can open the task manager to monitor the staus of the system resources .
    To get a better performance of palying games ,we can try to disable the unnecessary autorun program to allocate the system resources for the game .
    We can use the Autorun tool to achieve.
    Autoruns for Windows v13.2
    https://technet.microsoft.com/en-us/sysinternals/bb963902.aspx?f=255&MSPPError=-2147217396
    To get a better performance ,it is recommended to keep the machine up to date .
    We can try to manually update the driver for the mouse ,keyboard ,video card .It is recommended to download the latest driver from the manufacturer website for these devices.
    Best regards
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Thank youbfor optimizing the touch input for scrolling on my HP Slate 500, why wont the others do the horizontal scrolling feature enables?

    After testing all other available browsers the past month I have arrived at the conclusion that the Firefox browser is the only one that enables touch input for scrolling. Trying to navigate pages without this function using IE, Opera, Safari & Chrome is just tedious. I'm using the Slate as it was intended, business functions especially day to day charting for my patients in an online system.
    The larger tabs for opening new searches & sites. If Microsoft plans on making W8 truly touch enabled they need to take note of what FF has done here. The touch input is limited on W7 but you've succeeded where others have failed.
    3 cheers for FF! I couldn't do my job and document patient progress w/o your intuitive design. Brendan S. - Latham, NY
    I guess the question is why are the others not developing these key features for Windows based slates...are they ignorant or is FF that much further ahead.

    After testing all other available browsers the past month I have arrived at the conclusion that the Firefox browser is the only one that enables touch input for scrolling. Trying to navigate pages without this function using IE, Opera, Safari & Chrome is just tedious. I'm using the Slate as it was intended, business functions especially day to day charting for my patients in an online system.
    The larger tabs for opening new searches & sites. If Microsoft plans on making W8 truly touch enabled they need to take note of what FF has done here. The touch input is limited on W7 but you've succeeded where others have failed.
    3 cheers for FF! I couldn't do my job and document patient progress w/o your intuitive design. Brendan S. - Latham, NY
    I guess the question is why are the others not developing these key features for Windows based slates...are they ignorant or is FF that much further ahead.

  • MBP late 2013 i7 2.3gHZ restart problems and major input lags

    Since I've updated my MBP i7 2.3 Ghz late 2013 to OSX Yosemite (10.10.1) I can't restart the macbook with my promise harddrive and apple cinema display still connected via thunderbolt. When I restart it keeps hanging on the grey screen without the apple logo. When I unplug the thunderbolt and usb cable, hold down the power button and turn it back it everything is fine. Just the restart won't work.. Any ideas?
    Further more, I receive major input lags in different programs. For example I use Final Cut Pro (10.1.3) a lot for my job. I use managed media library all stored on the promise harddrive via thunderbolt. The footage I use is raw of the SD card from a Nikon D800 (h2.64 mov), of course i let everything import first before editing. Though I get major input lags (0,5-1,5 sec) when pressing the spacebar to play for example. Ive used this workflow exactly the same on my previous MBP (17" late 2011 I think) without any lags.
    Specs of my MBP:
    MacBook Pro (Retina, 15-inch, Late 2013)
    Processor 2,3 GHz Intel Core i7
    Memory 16 GB 1600 MHz DDR3
    Graphics NVIDIA GeForce GT 750M 2048 MB
    Storage 512 GB SSD
    Hope anyone can help me.

    Your original configuration is an HDD. Have you considered replacing it with an SSD. It helps quite a bit.
    The current 2013 (and now the 2014) MBPs are excellent machines, and can run Bootcamp via native EFI (Win 8/8.1 - Win7 has some driver challenges), rather than the CSM-BIOS layer and you will get very good performance. I would recommend a 16GB MBP. If you do a lot of external display work, dual GPUs may work better for you.
    I use the TB-to-FW for accessing external disks, not sound cards, but the storage works fine. This machine can support 8GB RAM, which may also be worth considering.

  • My nokia c6-01 touch input does not working

    touch input does not working
    Solved!
    Go to Solution.

    I have the same problem with the touch screen not working. but only some parts of the screen is not able to respond to my touch. 
    i am able to select some icons but not others. for example when i turn the phone to on its longest side and using the keyboard to type a sms the length of  keys "e" "d" and "c". 
    there are other parts of the touch screen that dont work.
    is this a hardware problem or software. 
    taking the battery out does not help.

  • Touch input not working intermittently

    I have been using my Winpad 110W for over two months now. Lately the Touch input started to stop working intermittently especially after resuming from hibernation or from cold boot. I have to use the virtual keyboard by using the mouse or attach a USB keyboard to login. Under Windows 7 64bit property field will indicate the Pen and Touch field do not have Pen or Touch Input detected or found. In Device Manager the Microsoft Input under HIDs also missing. I tried to rescan for drivers and etc but still not working.
    I have to reboot the Windpad a couple of times and then suddenly it will start working. Ihave the latest drivers, firmware, bios and softwares.
    Anybody experiencing similiar problems?
    I have also found from my supplier that they are starting to sell the Docking Station NOE111W for $180AUD.

    Quote from: jeffreycheah on 10-October-11, 15:05:25
    I have been using my Winpad 110W for over two months now. Lately the Touch input started to stop working intermittently especially after resuming from hibernation or from cold boot. I have to use the virtual keyboard by using the mouse or attach a USB keyboard to login. Under Windows 7 64bit property field will indicate the Pen and Touch field do not have Pen or Touch Input detected or found. In Device Manager the Microsoft Input under HIDs also missing. I tried to rescan for drivers and etc but still not working.
    I have to reboot the Windpad a couple of times and then suddenly it will start working. Ihave the latest drivers, firmware, bios and softwares.
    Anybody experiencing similiar problems?
    I have also found from my supplier that they are starting to sell the Docking Station NOE111W for $180AUD.
    I have noticed this happening when in sunlight or under bright lights. The little mouse pad is the culprit, cover it up and you should be able to work with the touch screen just fine.
    unless your screen is actually faulty...

  • Is there a way to make the ipod touch not lag when playing modern combat 3 on ios 6

    is there a way to make the ipod touch not lag when playing modern combat 3 on ios 6 because when i play it laggs badddddddddddddddddd any suggestions or help

    Hey Harold the Lion Tamer,
    Thanks for the question. I understand that you are experiencing issues with your iPod nano (7th generation). The following resource outlines basic troubleshooting steps, and tips on the next best steps if your issue is not resolved:
    iPod nano (7th generation): Hardware troubleshooting
    http://support.apple.com/kb/TS4433
    The Five Rs: Reset, Retry, Restart, Reinstall, Restore
    Remember these five basic suggestions if you have an issue with iPod nano. Try these steps one at a time until the issue is resolved. If one of the following doesn't help, read on for solutions to specific issues.
    - Reset iPod nano. First, make sure iPod nano is charged. Then press the Sleep/Wake button and the Home button for six seconds, until the Apple logo appears.
    - Retry with a different USB port if you cannot see iPod nano in iTunes.
    - Restart your computer and make sure that you have the latest software updates installed.
    - Download and reinstall iTunes.
    - Restore iPod nano.
    Issue not resolved
    If the issue is still not resolved, please read this information on servicing your iPod.
    Thanks,
    Matt M.

  • Touch input with 2 touch point

    I need driver for touchsmart IQ512 for win 8 who support touch input with 2 touch point
    This question was solved.
    View Solution.

    Touchdrivers needed for your system would be available through Windows update. You can even try downloading the drivers from the following weblink:
    http://www.nextwindow.com/assets/files/NWFilter1.4.0.0.zip
    I am an HP employee.
    Regards,
    Vidya
    Make it easier for other people to find solutions, by marking my answer “Accept as Solution” if it solves your problem.
    ***Click on "Thumbs up" button to the bottom right side of my post to say thanks!***

  • Input lag

    I'm looking to getting a new tv for my games but I don't like the input lag on flat screens I'm looking for a flat screen with the same input lag as the toshiba version 27A41 but I don't know what the input lag for this tv is can someone help????

    You weren't being ignored; it's only been two days. Unfortunately, I don't have a solution for you. You might want to try contacting customer support at (800) 631-3811.
    - Peter

  • HDTV Input lag question

    im planning on buying an led hdtv for my xbox 360.
    But will there be input lag? the hdtv supports 720/1080i/1080p and so does the xbox 360, so there is no input lag, correct?

    in other words, can you confirm this?
    "Modern game consoles such as the 360 or PS3 don't have this problem since they are all natively HDTV ready supporting 720p, however games in 480i need to be scaled up to 720p and the rendered on the TV, during this can cause a delay, and thus what you control can have a delay on reaction times, such as your character moving a split second later then the actual input itself. This is why there is Game Mode included on certain models of HDTV, to reduce this input lag."

  • Urxvt -depth 32 / Intel graphics = input lag

    I have a very strange behavior with urxvt at color depth 32: when I press a key and wait for it to repeat and release it, then the last input lags for about one second. For example, moving in a terminal/vim, the cursor stops when I release the key, then moves one second later. Same thing with mouse scroll. If I set depth to its default value, it works just fine.
    Does anyone have this annoying problem?
    00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    xorg-server : 1.9.2-2
    xf86-video-intel : 2.13.0-4
    rxvt-unicode : 9.09-1

    The i915 isn't a graphics powerhouse - what are you comparing with when you say its slow? Glxinfo says direct rendering is enabled and your Xorg log looks ok.
    Try sudo gpasswd -a <username> video to add yourself to the group for /dev/dri/card0. Logout and back in and see if that helps.

  • Insignia TVs For Gaming (Input Lag Question)

    I am considering either the 40 inch or 42 inch Insignia.
    NS-42D510NA15
    NS-40D510NA15
    This TV will only be used for gaming. Does anyone have this TV and can comment on whether or not it has input lag? It is detrimental to the experience that input lag be at a minimum.
    Thanks in advance for any responses.

    Hi there NeoZatan-
    Just as a FYI, we also have a great Insignia community forum as well that may be able to help answer your question.
    You can find that forum here.
    Thanks for posting!
    Bill|Senior Social Media Specialist | Best Buy® Corporate
     Private Message

  • GT72 SERIOUS KEYBOARD INPUT LAG (MSI OFFICIALS TAKE A LOOK)

    First of all hi to the community..! 
    I m a GT72 2QE 629TR owner and GT72 has a SERIOUS keyboard input lag problem..maybe all of you guys cant feel that in fps or 3rd person games as i do but i have been playing STREET FIGHTER 4 for 5 years...in which game inputs are very sensetive..! I cant do neither combos nor plinking with this stupid keyboard.. but i can do that stuff easily in any keyboard even on my wireless logitech keyboard but in this steelseries keyboard CANT because of the serious lag..some combos need one frame link means 1/60 seconds bla bla..
    but i realized after uninstalled steelseries keyboard utility lag reduced a little bit but still there is some..I dont know which cause to this problem.. 
    Another request keyboard lights which depends on steelseries utility means we cant turn it on or off the light from keyboard shortcuts unless we are in windows...This is stupid...!    it should be also BIOS controlled..In a darker environment i cant see the buttons in windows LOG ON screen to enter the password why? because of this utility works after logged in so the lights dont work which is very STUPID again..  In my other 600$ Lenovo laptop you can control the light from the FN+SPACE keys even you are in bios or dos environment...because its controlled from the bios itself..
    Another bug  the dot(point) button right next to the 0(zero) button in numerical buttons area...it shows POINT on that button but when you press it comma comes on screen ? shhhh..which one is true comma or dot 
    MSI..! Do something to fix those problems IMMEDIATELY in the next BIOS update or whatever..! or go for
    Note: I m on E1781IMS.10R bios (appreciated the CPU C STATES enable/disable option because disabling this removed some stuttering with games also gives performance boost ) with 1781EMS1.510 EC Firmware and dont be offended we love MSI preferred over asus and others

    The keyboard should light up in red during POST. At least I saw GS70 has red keyboard light when it is turning on and the color turns to its setting while SSE is on.

Maybe you are looking for