A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Loading text into a input textbot

  1. #1
    Senior Member gkbdave's Avatar
    Join Date
    Nov 2000
    Location
    Fort Bragg, NC
    Posts
    304

    Loading text into a input textbot

    I am trying to load text from a .txt file into a input text box. However everytime I do it doesn't become scrollable. It just pastes the text into the box and eventually goes off the screen. I tried to add a scrollbar but that doesn't work either.

    Does anyone have any ideas how I can load a text file into a text box have it scrollable and also be able to select the text???

    thanks

  2. #2
    Junior Member
    Join Date
    Sep 2001
    Location
    Madrid, Spain
    Posts
    22

    Let me see...

    Does it REALLY need to be a input textbox?
    Try the new guy in town:dynamic textbox...they scroll and stuph...
    you can dl any scroller you want or make your own scroll buttons.
    Input textboxes are used for inserting variables, like in forms and stuph.

  3. #3
    Senior Member gkbdave's Avatar
    Join Date
    Nov 2000
    Location
    Fort Bragg, NC
    Posts
    304
    I have tried dynamic and static and still the same thing..
    I am using Mx 2004

    Know of any tutorials that are simple to follow? cause obviously I am not able to use this simple technique

  4. #4
    Junior Member
    Join Date
    Sep 2001
    Location
    Madrid, Spain
    Posts
    22

    Hey, it might be this one...

    Have you tried to check the multiline option and redimensionate the textfield for your needs(you know, stretch the textfield with a drag-and-drop movement from the little square that appears on an edge of the textline)?
    To scroll it, check the (textfield).scroll function, it will be instructive, I can assure you.

  5. #5
    Senior Member gkbdave's Avatar
    Join Date
    Nov 2000
    Location
    Fort Bragg, NC
    Posts
    304
    I will tell you I have tried them all, every text box function.. input, dynamic, static.. I tried to make the dimensions on the box different sizes. It won't let me do much.

    I have read tutorials that all you have to do is make a dynamic text box, copy text into it and then drag a scrollbar component onto it to make it work. But for some reason mine doesn't work that way..

    I have tried typing the text into a box and make it scrollable also and that doesn't work either..

    Thanks for the help.

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