Home Flash Training Day 4
|
During day four, you will learn how to create dynamic text thatl oads from external text files. By setting up your site this way, it makes it much easier to update your site without having to go into your Flash file. You will learn how use simple HTML to format the text that loads into your text boxes. You will also learn how to create an Array in Actionscript so you can create captions for your photo and video galleries.
In the final step of your creating your website,you will learn how to create a multi-page movieclip so that longcontent that was loaded into one textbox, can be broken up intoseparate sections (or keyframes) on your page. Finally, you'll learnhow to publish your site and tweak the layout, if necessary, usingDreamWeaver.
Red6.FLA
- Create external text files and create the Actionscript to load these textfiles into the correct textbox.
- Because the text is now dynamically loaded, you'll need to embed the font inside the SWF via the Library. If you fail to do this and use a font that the end-user does not have on their computer, the page may not render as intended.
- Style the text using simple HTML in the text file.
- View the published file If you view this file from Firefox and Safari, you'll notice that the scrollbars don't appear on the "About", "News" or "Resume" pages. This is a bug found in these browsers. A small piece of Actionscript will be added to the next Flash file to fix this bug.
 |
|
Red7.FLA
- Correct the bug in FireFox or Safari that causes the scrollbars to not load when a textbox is loaded from an external text file. This is done with a small piece of Actionscript.
- In the Photo Gallery and Video Gallery, an Array is created using Actionscript so captions can be loaded that correspond with each photo or video. Because we are using an array to load captions, we will change the Actionscript that loaded the photos and videos so that the same Actionscript can be used to load the photos/video that loads the captions. This will simplify our Actionscript code.
- Re-skin the scrollbars so they match the colors of the layout.
- And finally, learn how to move and edit the entire layout (all layers and all frames) of the timeline. This was accomplished in this Flash file to move the entire layout to the left on the stage.
- View the published file

|
|
Red8.FLA - The final Flash Website
- In this final Flash lesson, learn how to create a multi-page MovieClip symbol. In this example, this technique was created using the "Resume" textbox. Using this technique when needed will prevent extremely long scrollbars and long textboxes from forming. By breaking up the content and placing each in a separate textbox on a separate frame of the MovieClip symbol, the information is more user-friendly and easier to access.
- View the published file
 |
|
|
|