Copy link to clipboard
Copied
Hi, first of all, I know almost anything about as3, but I have a huge presentation tomorrow with touch lcds (Not native touch, but the ones with a frame on it). I never had problems with as2, wich I´m comfortable with, but I´m wondering if there´s anything I have to worry about using touch lcds with windows 7 and as3.
My application works fine with a mouse, but since I start reading I found information on touch events, is there anything I should consider? Or is something that covers smartphones and other os?now I´m really worried Should I feel ok?
everywhere in the code I bought I see c.addEventListener(MouseEvent.CLICK)
thanks to everyone!!
Copy link to clipboard
Copied
now I´m really worried
Should I feel ok?
No you shouldn`t.
Mouseevent.CLICK can be problematic on Touchscreens. Also Drag etc.)
If you don´t have time to convert all your MouseEvents to TouchEvents than try to use MOUSE_DOWN instead of CLICK, which will work in 99% of usecases as you would expect.
Nevertheless, in any case try to get your hands on an actual touch-device (tablet etc) and test it.
Nothing more frustrating than a presentation that suffers from technical problems.
Copy link to clipboard
Copied
Thanks for your reply moccamaximum, I will do that, thanks for your answer! I´ve been trying my swf on an Ipad using desktop streamers such as splashtop and logmein and it works fine using click, but I will take a copy with MOUSE_DOWN replacing all CLICK
Thanks you! I´ll tell you how it goes and hopefully, I will be able in the near future to advise someone else about this.
Copy link to clipboard
Copied
I'll just add that mostly everything I do is on touch screens and I've never used touch events - aside from one project where I needed to pinch zoom some images. For all touch projects I use MouseEvent.MOUSE_DOWN and it's worked 100% of the time on Win7 and 8. CLICK should be fine too - I just prefer MOUSE_DOWN.
Copy link to clipboard
Copied
Thanks dmeN for your answer, makes me feel much better, I have now both versions as moccamaximum suggested
I´ll tell you how it goes in a coupple of hours, thanks guys!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now