A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: input text box: Multi vs Single Line

  1. #1
    Junior Member
    Join Date
    May 2010
    Posts
    4

    input text box: Multi vs Single Line

    Hi there
    I need to create a multiline input textfield. The following code works for single line, but not multiline. What can I do?

    [actionscript 3, CS4, PC, ("p1empty" and "p1compare" are frame labels)]

    on (release){
    if (input1.text == ""){
    gotoAndStop("p1empty");
    }else {
    gotoAndStop("p1compare");
    }
    }

    THANKS!

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    moved to actionscript.
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Registered User nunomira's Avatar
    Join Date
    May 2002
    Location
    portugal
    Posts
    7,003
    hi,

    The reason for cancerinform having moved your post is that's ActionScript 1 (or 2), not 3.
    If you unselect "Auto Kern" from the text field properties, it will work as expected.

  4. #4
    Junior Member
    Join Date
    May 2010
    Posts
    4

    RESOLVED input text box: Multi vs Single Line

    Thank you! Thank you! Thank you!
    That worked!

Tags for this Thread

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