A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Text Box Teleport

  1. #1
    Junior Member
    Join Date
    Nov 2002
    Posts
    18

    Text Box Teleport

    QUESTION:

    Can you have text overflow from one text box to another?

    So when I make a text box "A" and it is so big. The I have text box "B" and it is located at the bottom of the stage. How can you script something that says "When the text in text box "A" exceeds the size of itself, continue the same text where it left off into text box "B"?

    I'm not crazy. .. serious.

    Thanks

  2. #2
    Senior Member LeoBeer's Avatar
    Join Date
    May 2002
    Posts
    315
    I guess you are talking about Dynamic text fields.
    Code:
    MyString = new String("This is my text")
    VarInTextBox1 = MyString.slice(0,TextBox1Width)
    VarInTextBox2 = MyString.slice(TextBox1Width)
    Grab the 'TextBox1Width' from where ever it's being created in the script.

    Good Luck
    LeoBeer.

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