Adobe Flash Professional CS6 Adobe Flash Professional CS6 Classroom In A Book | Page 297
9 In the Code Snippets panel, double-click the Load External Text option a third
time and make the code replacements to load 07SampleRealEstate2-description.
txt and display the text in description_txt .
The three large blocks of code snippets appear in the Actions panel one after
the other.
10 Choose Control > Test Movie > in Flash Professional.
Flash loads the three external text files and displays the contents of the text files
in the targeted text boxes. The listing now displays details for a property on
Cobble Hill Way instead of 7th Avenue.
The photos and mortgage calculator still refer to the previous listing, so the
update to the new property is unfinished. However, you can still see in this
incomplete example how flexible it is to develop a template that loads external
text content and displays it in text boxes on the Stage. Many professional Flash
projects rely on dynamic content fed from external assets such as text files.
288
Lesson 7
Using Text