• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 135
  • Last Modified:

Importing from txt file

I have a series of variables in flash called t1,t2,t3,t4,t5. I want to be able to populate these variables from a text file stored on the server.

What is the easiest way to achieve this.

Thanks for the help.
  • 2
1 Solution
Hi Richard,

The easyest way to do it is in the first frame of the movie. There under the actions tab, you select 'load movie' and then you have to select that you wanna read from file. Be sure you select 'level 0' because otherwise it doesn't work. You text file must look like "&var1=blabla&var2=blablablabla&var3=idem' etc, etc.
when the file is loaded, you can set the variables with action script, like
You can also look at http://were-here.com there are tutorials and examples.
Good Luck
Hi Richard,

I shall send you an example tonight (we have here no flash).
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now