Skip to main content
Participant
February 23, 2010
Question

creating a simple text input

  • February 23, 2010
  • 1 reply
  • 440 views

Hi,

I want to use TLF' power in rtl rendering to built a simple text input (like TextInput component avaible in flash).

My questions are:

1- how can I use TLF component as a simple text input? and then get it's text via ActionScript?

2- Is it possible to put several intances of the component at stage?

This topic has been closed for replies.

1 reply

Participating Frequently
February 24, 2010

Well, first you'll want to make an interactive TextFlow. Fortunately, the latest TLF Samples have a couple of these for you to try. (I'd look at EditText.as for what you're trying to do.)

Now if you want to limit the size of the interactive text area, you can give its ContainerController a width and a height, and it should behave like a multi-line input TextField. You should be able to make as many of these things as you want.