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

Looking to create live editable text boxes for the user

Explorer ,
Jul 16, 2017 Jul 16, 2017

Copy link to clipboard

Copied

Is it possible for a user to edit text live once exported? I am looking to create a program where the user can redefine risks presented to them by double-clicking the text and then writing in their own risks?

Thanks

James

Views

364

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

Community Expert , Jul 16, 2017 Jul 16, 2017

for canvas use a textinput component

for as3 use the component or an input textfield.

Votes

Translate

Translate
Community Expert ,
Jul 16, 2017 Jul 16, 2017

Copy link to clipboard

Copied

for canvas use a textinput component

for as3 use the component or an input textfield.

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
Explorer ,
Jul 17, 2017 Jul 17, 2017

Copy link to clipboard

Copied

I have a text box, but i cannot seem to choose 'text input' in the properties panel? it is not highlighted?

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 ,
Jul 17, 2017 Jul 17, 2017

Copy link to clipboard

Copied

If you are working with a Canvas project then you can't set a textfield to Input. You need to use the TextInput component from the Components Window. Just drag an instance onto the stage and format it as you need.

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 ,
Jul 17, 2017 Jul 17, 2017

Copy link to clipboard

Copied

Screenshot - 7_17_2017 , 6_01_23 AM.pngclick help>components and drag the textinput component to the stage where you want your 'text input'

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
Explorer ,
Jan 12, 2019 Jan 12, 2019

Copy link to clipboard

Copied

LATEST

If your text input component is named 'nametext' as the animate instance name, retrieve the value with one of the following:

myVal = $('#nametext').val();

myVal = document.getElementById('nametext').value;

myVal = this.nametext._element._element[0].value;

myVal = document.getElementsByTagName("input")[0].value;

To see a list of available properties, use console.log(this.nametext); In a browser such as Internet Explorer 11, open the developer tools by pressing F12 and check the console for the log. Click on the + to see properties.

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