A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: external text file

  1. #1
    Junior Member
    Join Date
    Feb 2001
    Posts
    5

    Unhappy

    how do i get flash to import text? i tried creating a dynamic text field, variable name INTRO, and in frame 1, i put action:

    loadVariablesNum("My.txt", 0);

    and my text file My.txt contains INTRO = hello

    I can't see anything! please help!

  2. #2
    Junior Member
    Join Date
    Sep 2000
    Posts
    17

    RE: external text file

    Maybe watch the spaces in the text in the text file:

    "INTRO=hello"

    Do you have spaces on wither side of the "="?


  3. #3
    Junior Member
    Join Date
    Feb 2001
    Posts
    5
    thankyou! that's been driving me mad for the past hour!

  4. #4
    Junior Member
    Join Date
    Sep 2000
    Posts
    17

    external text file

    Also, check out the text file tutorial:

    http://www.flashkit.com/tutorials/Ac...39/index.shtml

    Brett has done a great job explaining and demonstrating. This is the best tutorial you'll find on reading text files from Flash.

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