A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: loading a text file and scroll bar component

  1. #1
    Buttnutsford Jon Roobottom's Avatar
    Join Date
    Mar 2000
    Location
    Brownhills UK
    Posts
    98

    loading a text file and scroll bar component

    Okay, after much seraching through the depths of the board i managed to discover that to write dynamic text into a text field and have the scroll component work you must use the instance name of the text field and not the variable name...

    for example, lets say I have a text field with an instance name of 'textInstance', I would use this code to write into the text field and enable the scroll bar...

    Code:
    textInstrance.text = "dynamic text, blah....";
    But, I can't get this working with an external text file...

    could someone please post some code that'll do this...

    THANKS!!

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397

  3. #3
    Buttnutsford Jon Roobottom's Avatar
    Join Date
    Mar 2000
    Location
    Brownhills UK
    Posts
    98
    thanks! thats just what i'm looking for.

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