Copy link to clipboard
Copied
I've got a HP Compaq L2105tm touchscreen monitor. Using Windows 7 I was able to use the multitouch class for AIR, and enable pinch-zoom and such. With Windows 8 now, I no longer can get pinch-zoom working - and Multitouch.supportsGestureEvents now returns false. But pinch-zoom works just fine in Windows 8 itself... just not in Flash anymore... so it doesn't seem like it could be a driver issue. Anyone seen this?
Copy link to clipboard
Copied
I haven't but the gesture support is indicating on that particular OS/hardware, flash player doesn't support that gesture yet.
As a momentary workaround you can always track touch points yourself with the standard Touch event. I know it's not ideal but the ID of the event firing gives the finger number and if you just pay attention to touch 0 and 1 while measuring distance it's essentially the same thing as the gesture. The gesture probably has a bit more proximity code to rule out accidental other finger touches but it isn't necessary for the basic gesture.
I'm also curious if anyone else finds this to be true, as Win7 always had elementary touch support overall.
Copy link to clipboard
Copied
Hi dmeN,
That is not happy news to hear, as I've been working on a bunch of gesture-based apps for Windows 7, but have not yet attempted to push them over to Windows 8, yet I'll need to. I agree with what sinuous says, as I've employed his mentioned method for several apps, which works quite well for what I'm trying to do.
Although I have no answer for you, I do have a question(if i may be so bold). Have you come across any other gestures that no longer work in win8? Also, do you have any experience with tracking fiducial markers on the Surface? I'm pulling my hair out trying to track any fiducial marker on the Microsoft surface.
I'm not trying to hijack your post 🙂 - I just wanted to ask you specifically because I've read many of your posts, spanning back years, and thought you might know a thing or two about fiducials.
Anyways, that sucks! I'm not looking forward to working with windows 8.
Cheers to you,
Chipleh
Copy link to clipboard
Copied
Software is a good self describing word.
The hurdles will be overcome, no worries on that. Unfortunately clients aren't always so froggy about the wait.
Copy link to clipboard
Copied
Windows 8 is nice - I like working in it... It may just be this monitor/driver combination - I'm not sure. It's not so much about 'other gestures that don't work' - no gestures work. In Flash, there's only one touch point - gesture support is just plain not supported.
Anyway, sorry no - I have no idea about fiducial markers not working - but I can't see why anything would be different on a surface - unless you're using the RT version, and not pro... I did a multiplayer html5 game for surface and everything worked the same as it did on my desktop, but those were running the pro version.
Copy link to clipboard
Copied
You enabled Multitouch and when you query Flash for the max number of simultaneous touches Flash reports back only 1?! Multitouch.supportedGestures vector is empty and Multitouch.maxTouchPoints is 1?
Copy link to clipboard
Copied
Alright... I'm jumping ship and calling this on a big fat WTF. So, sinious I traced those properties and got the gestures, and 2 touch points... so I traced supportsGestureEvents and I am getting true. I was getting false, as per my original post - for two days. I just don't know... I was compiling for AIR, didn't change any system settings... So, pinch-zoom does work - though not as smooth as I'd like. But whatever... stuff like this really annoys me.
Copy link to clipboard
Copied
Haha, I thought it sounded fishy. I've never seen it say 1 touch point on any touchscreen.
Most importantly you're past the obstacle. Glad you got it fixed.
If you're all set please mark helpful/correct so we can filter unanswered and good luck!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now