Flash : Updatable text fields
Contents ]
David Einhorn

Creating and Loading the Text File

Our movie contents will be updated through a text file placed on the server. This one only describes the contents of the three variables that we will later assign to the three text fields. For this, we have to follow a specific syntax:

&txtdate=10/12/2009
&txtitre=Une nouvelle ère glaciaire ?
&txtinfo=The death of the desktop PC has long been prophesied by the technology industry, which is always...

On each line, the & character indicates that the associated character string should be interpreted as a variable. The = sign assigns a content to the variable.

The file contents must be saved in .TXT format. The simplest way to do this is to use the Windows Notepad. Name this file infos.txt.