A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: To katiyuki

  1. #1
    Senior Member Ingale's Avatar
    Join Date
    Jun 2003
    Posts
    332

    To katiyuki

    First of all, read this tutorial about reading text from an external file.
    Now, create a dynamic text field on the main stage, give it an instance name, create a new layer, name it Actions and insert the following code:

    loadVariables("NameOfYourFile.txt", "_root.DynamicTextInstanceName");

    Make sure that the file stored in the same directory with your movie.
    Now from the Components Library drag the ScrollBar component above your text field, it should be attached automaticaly to it. If not, in the properties of ScrollBar insert the Instance Name of the field into the Target TextField area. Test your movie!

  2. #2
    Senior Member Ingale's Avatar
    Join Date
    Jun 2003
    Posts
    332
    Oops, that was supposed to go to this thread as a reply, not as a new 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