Announcements
The Scaleform forum is now read-only. Please head to the Gamedev site for product support.
Scaleform Forum (Read Only)
Scaleform enables developers to leverage the power of the Adobe® Flash® tool set to create powerful user interface environments for video games.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

"Samsung Galaxy Note" TouchEvent not supported?

6 REPLIES 6
Reply
Message 1 of 7
Anonymous
399 Views, 6 Replies

"Samsung Galaxy Note" TouchEvent not supported?

I've been playing around with scaleform, and noticed that i was not able to achieve TouchEvents with scaleform mobile on my Samsung Galaxy Note. Unless there is something I overlooked, I believe that my Phablet(phone + tablet) should be able to support TouchEvents using Scaleform Mobile?

The following code returns "Not Supported". I should make mention that GestureEvents are supported on my phone.

package  {
import flash.display.MovieClip
import flash.events.Event;
import flash.events.TouchEvent;
import flash.ui.Multitouch;
import flash.ui.MultitouchInputMode;

public class DocumentMain extends MovieClip
{

public function DocumentMain():void
{
if(Multitouch.supportsTouchEvents)
_dText.text = "Supported";

else
{
_dText.text = "Not Supported";
}
}
}
}
6 REPLIES 6
Message 2 of 7
MatthewDoyleArt
in reply to: Anonymous

We definitely support touch events on Android devices. What version of Android are you using? Have you tried any other devices?

Matthew Doyle
Technical Marketing Manager

-----------------------------

Area Blog: Game Dev Blog
Watch me on Youtube: Youtube.com/MatthewDoyleArt
Check out some of my work at: MatthewDoyle.com
Message 3 of 7
Anonymous
in reply to: Anonymous

I have not tested this out with any other android devices yet. I'm using "Samsung Note SGH-I717M" Android version "4.04".

I will post back here if i get the chance to test this on another android device.
Message 4 of 7
MatthewDoyleArt
in reply to: Anonymous

Sounds like you have the latest and greatest. Try using MouseEvents instead of TouchEvents. I need to do some research, and when I have a better answer for you, I'll be sure to let you know.

I can confirm that your code reports "Not Supported" on my end too, on a Samsung Galaxy.

Matthew Doyle
Technical Marketing Manager

-----------------------------

Area Blog: Game Dev Blog
Watch me on Youtube: Youtube.com/MatthewDoyleArt
Check out some of my work at: MatthewDoyle.com
Message 5 of 7
MatthewDoyleArt
in reply to: Anonymous

Ok...I have found a solution for you. Add this line of code at the beginning of your constructor:

Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;


Here is a sample file for you to test with: https://dl.dropbox.com/u/39898937/MobileDev/touchsupport.zip

Matthew Doyle
Technical Marketing Manager

-----------------------------

Area Blog: Game Dev Blog
Watch me on Youtube: Youtube.com/MatthewDoyleArt
Check out some of my work at: MatthewDoyle.com
Message 6 of 7
Anonymous
in reply to: Anonymous

Can you confirm that multi-touch is supported? While im getting the "Supported" text I still can't get any sort of multitouch to work, only single touch points. Still haven't had the chance to test this on any other phone, but as soon as I get a hold of one i'll post the results.

I attached a small piece of code that I would assume should be a very basic example of multi-touch in action. I am able to only get one ball to appear, as apposed to one for each finger.

http://dl.dropbox.com/u/12960107/MultiTouch.rar
Message 7 of 7
MatthewDoyleArt
in reply to: Anonymous

Yes multitouch does in fact work. I've tested it myself. You might also try MultiTouchInputMode.GESTURE which allows you to do pinch zoom, etc.

I'll try out your sample file and get back to you.

Matthew Doyle
Technical Marketing Manager

-----------------------------

Area Blog: Game Dev Blog
Watch me on Youtube: Youtube.com/MatthewDoyleArt
Check out some of my work at: MatthewDoyle.com

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report