A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: How to disable text wrap of dynamic text in flash cs3?

  1. #1
    Member
    Join Date
    Jun 2009
    Posts
    63

    Question How to disable text wrap of dynamic text in flash cs3?

    There is a dynamic text box and I set it's wrap to be false

    However, when I input text and press enter key, it still return to next line.

    How should I fix it in Flash CS3?

  2. #2
    newb of many sorts Ralgoth's Avatar
    Join Date
    Apr 2002
    Posts
    466
    have you tried .multiline = false?
    Search first, asked questions later.

  3. #3
    Member
    Join Date
    Jun 2009
    Posts
    63
    I set txtMessage.multiline = false;

    But it has compile error:
    multiline attribute not be defined
    (reference by fl.controls:TextArea)

  4. #4
    newb of many sorts Ralgoth's Avatar
    Join Date
    Apr 2002
    Posts
    466
    You're using the TextArea component, which is made for multiple lines.

    Try the TextInput component instead.
    Search first, asked questions later.

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