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

AS3: Scrolling text box

Participant ,
Mar 03, 2021 Mar 03, 2021

Hi. I have added a text box - dynamic text. Then menu - text - scrollable - enabled.

I published but can't scroll. I know I'm missing code but I don't know where to find it. I don't want to use the scrollUI component as it's damn ugly and I need to design it properly. Also I want to scroll with my mouse or finger instead of a scroll bar

1.1K
Translate
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

correct answers 1 Correct answer

Community Expert , Mar 03, 2021 Mar 03, 2021

for the mobile touch events you should use:

 

TouchEvent - Adobe ActionScript® 3 (AS3 ) API Reference

Translate
Community Expert ,
Mar 03, 2021 Mar 03, 2021

you want it to scroll in response to something (if yes, what) or you want to auto-scroll?

Translate
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
Participant ,
Mar 03, 2021 Mar 03, 2021

Not auto scroll.

My text is too big for a screen. It's a very large reading text for Cambridge exams.

I need to be able to scroll the text up to keep reading manually with my finger on a tablet and a mouse on PC. The same as you would do on any web page.

Translate
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 03, 2021 Mar 03, 2021

are you making a mobile (ios or android) app?

Translate
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
Participant ,
Mar 03, 2021 Mar 03, 2021

Mobile android app. 

Translate
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
Participant ,
Mar 03, 2021 Mar 03, 2021

AS3 for mobile app targeting Android and I am also coding in HTML5 for web but that is not as urgent.

Translate
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 03, 2021 Mar 03, 2021

for the mobile touch events you should use:

 

TouchEvent - Adobe ActionScript® 3 (AS3 ) API Reference

Translate
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
Participant ,
Mar 03, 2021 Mar 03, 2021

Excellent - I'll have a go tomorrow. It's late here in Valencia Spain.

 

Translate
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 03, 2021 Mar 03, 2021
LATEST

sounds good.

Translate
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