• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

simple touch scroll for Android AIR

New Here ,
Mar 13, 2018 Mar 13, 2018

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.

Views

1.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Mar 14, 2018 Mar 14, 2018

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 15, 2018 Mar 15, 2018

Copy link to clipboard

Copied

Exactly,

thanks if anyone can help...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 15, 2018 Mar 15, 2018

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 15, 2018 Mar 15, 2018

Copy link to clipboard

Copied

That's why i'm asking...How can i do it ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 15, 2018 Mar 15, 2018

Copy link to clipboard

Copied

LATEST

Hi.

Select the component, open the Component Parameters panel and check "scrollDrag".

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines