A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: dynamic textfield sizing

  1. #1
    Member
    Join Date
    Oct 2000
    Posts
    30
    Hi,

    I have a text field that gets its content assigned by a variable that I load from outside of flash. This variable's value can vary in length and I would like the text field to dynamically change its height to the length of the text.

    Anyone have an idea how I can achieve this?

    thx :-)


  2. #2
    Senior Member chi-styler's Avatar
    Join Date
    Jul 2001
    Location
    Bristol, UK
    Posts
    1,237
    To just change the height of the text box, I think you need

    textField.autosize = "center";


  3. #3
    Member
    Join Date
    Oct 2000
    Posts
    30
    aha thank you very much :-)

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