Copy link to clipboard
Copied
I'm unable to make a really simple scrollpane touchable (scrollable).
The goal is to make a mobile AIR app that can scroll and that i can add buttons to, animations to other pages,...
I tried with this on the first frame of the movie. The scrollpane still works using the mouse, but not when i activate the touch layer simulation.
I thought mouse events were translated as touch, but it doesn't seems to be the case.
import flash.events.TouchEvent;
import flash.events.MouseEvent;
Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
Thanks if you can help.
Copy link to clipboard
Copied
This is what I imagine you are trying to do: Create an Android application that when opened allows for scrolling using touch. You have been successful so far in that you can achieve this scroll through the mouse but not through touch.
I am not sure of what is going wrong, but want to be sure that you have read this documentation for using touch in flash.
Adobe Flash Platform * Touch, multitouch and gesture input
Am hoping that the experts here have a more precise solution than I do.
Thanks,
Preran
Copy link to clipboard
Copied
Exactly,
thanks if anyone can help...
Copy link to clipboard
Copied
Do you mean you are using a ScrollPane component in your app? I do not think the old components like that are touch enabled.
Copy link to clipboard
Copied
That's why i'm asking...How can i do it ?
Copy link to clipboard
Copied
Hi.
Select the component, open the Component Parameters panel and check "scrollDrag".