A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: textfield .autoSize listener?

  1. #1
    Member
    Join Date
    Jul 2004
    Location
    Genth, Belgium
    Posts
    72

    textfield .autoSize listener?

    Hi all,

    I have textfield with autosize set to true so it grows to the bottom.
    Is it possible to add an listener to catch the changes in size when the user types?

    i tried with resize but that didnt work,
    do i have to work something out with the onchanged listener to get the result?

    thnx alot

    greetz

  2. #2
    Member
    Join Date
    Jul 2004
    Location
    Genth, Belgium
    Posts
    72
    ok, already made something with the onchange event

    _root.myObj = new Object();
    _root.myObj.onChanged = function(evt) {


    if (evt._parent.mijnhoogte<evt._height)
    {
    evt._parent.mijnhoogte = evt._height;
    _root.refreshpage();
    }
    };

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