A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: inPut textField Difficulty

  1. #1
    Member
    Join Date
    May 2007
    Posts
    39

    inPut textField Difficulty

    I an using Flash Professional CC
    My problem is this: I have an input textField.In which I will input embedded Thai Fonts. The problem is that I must add a few lines of "\" prior to the input so that the odd Thai letters will display properly.
    How do I add this extra space to the inPut field
    thanks

  2. #2
    Senior Member
    Join Date
    Nov 2001
    Posts
    1,145
    Post your code with comments showing what you need.

    The input field is a textfield. You can edit that string. You can add the slashes to the input textfield itself or you can add the slashes to the string after the user submits.

    You can capture keystrokes if you need to.

  3. #3
    Designer, Programmer, Musician angelhdz's Avatar
    Join Date
    Mar 2010
    Posts
    971
    I think I already replied to this in another forum o.O

    Just add
    YourTextField.text = "\n Your Thai Text Here";
    Where \n will add new lines to the text. Want 2 lines? Then
    YourTextField.text = "\n\n Your Thai Text Here";
    Already mastering AS3. It was so fun. Now into Javascript and PHP and all its libraries

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center