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

Multi-Line Text Input in HTML5 Canvas (Animate CC)

New Here ,
Nov 22, 2017 Nov 22, 2017

Copy link to clipboard

Copied

I Am working on an Interactive activity using HTML canvas that requires a box to write a paragraph answer to a specific question. I have tried using the text input component built into animate but it only seems to work on one line and carries on beyond the boundaries of the box. Is there a way to make the box multi-line and return to the following line when it hits the edge? I am a beginner to html and cant figure this out.

Views

3.5K

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

correct answers 1 Correct answer

LEGEND , Nov 22, 2017 Nov 22, 2017

You can't do what you want using the input component. To do multi-line input you have to use a textarea, which is a different HTML element.

If you're willing to roll your own solution, the approach in this thread may work for you:

Dynamic Text Field in Animate CC Version 18 Build 107 aon Mac

Votes

Translate

Translate
Adobe Employee ,
Nov 22, 2017 Nov 22, 2017

Copy link to clipboard

Copied

Found a discussion on Stack Overflow that could provide you with insights.

actionscript 3 - How do I make a TextField multiline? - Stack Overflow

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
LEGEND ,
Nov 22, 2017 Nov 22, 2017

Copy link to clipboard

Copied

You can't do what you want using the input component. To do multi-line input you have to use a textarea, which is a different HTML element.

If you're willing to roll your own solution, the approach in this thread may work for you:

Dynamic Text Field in Animate CC Version 18 Build 107 aon Mac

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 Beginner ,
Feb 15, 2018 Feb 15, 2018

Copy link to clipboard

Copied

LATEST

people write share help me so much thanks every one

1.jpg

here you can find detail.

https://forums.adobe.com/message/10179624#10179624

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