dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Carriage Return

  1. #1
    Senior Member
    Join Date
    Jun 2001
    Posts
    118

    Carriage Return

    I have two buttons and when they are clicked they insert two different words into a text box.

    The problem I have is that when I click ome button and then the next the words are displayed next to each other. What I would like is the two worrd seperated by a carriage return!

    Any help would be grand!

    Cheers

    Jemes

  2. #2
    absent
    Join Date
    Aug 2000
    Location
    NB, Canada
    Posts
    155
    i believe if you add this between your two words, "\n", you'll get the carriage return.
    Code:
    myText = "Hello!\nHow are you?";
    - g

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