This week I will teach you how to load an external text files into your flash, this is important as you no need to edit the .fla file to change the text, you just need to update the content in the text file.
First of all, create a text file text.txt, make sure that the file has to be in the same path with flash file (.fla). If you still not clear about this, you may follow the steps below:
Steps of Loading External Text Into Flash
1. Open the text file, and write your content. The first part yourText is the variable name and the second part is the text that is going to be displayed. You can try to change the second part from time to time but make sure that it is after the equal mark.
yourText=I want to see this text.In this sample, you need to create 2 dynamic text and so you need to create 2 variable in flash. Then, you can load these 2 variables in the same text file by typing “&” after second part.