Adobe Animate CC HTML5 - Setting max length on a dynamic text box


hi guys,

 

hopefully can help...

 

i'm trying set max length of dynamic text box 10 characters.

 

these work way:

screen.tab01.txt.text = labelsometext;

screen.tab01.txt.color = "#424242";

 

however can't work:

screen.tab01.txt.maxlength = "10";

 

can please advice i'm doing wrong?

 

man thanks!

you didn't specify whether you're talking native textfield object, or overlaid html text element.

 

for html text input elements, property set "maxlength", lowercase.

 

for native textfield objects, there no max length property, max width. you'll have manually enforce character limit in code sets content of textfield.

easeljs v0.8.2 api documentation : text



More discussions in Adobe Animate CC - General


adobe

Comments

  1. Adobe Animate Cc Html5 - Setting Max Length On A Dynamic Text Box >>>>> Download Now

    >>>>> Download Full

    Adobe Animate Cc Html5 - Setting Max Length On A Dynamic Text Box >>>>> Download LINK

    >>>>> Download Now

    Adobe Animate Cc Html5 - Setting Max Length On A Dynamic Text Box >>>>> Download Full

    >>>>> Download LINK jQ

    ReplyDelete

Post a Comment

Popular posts from this blog

Illustrator CS6 Ocurrío un error E/S en el archivo.

Why is os_ViewContainer running?

Animate - problem with duplicating scripts after loop