If you want to make a Quote Rotator to your own specifications, it is entirely possible do to so with Flash. In this recipe, you will create a custom Quote Rotator. The quotes will be fed into the SWF
from an XML
file. A wipe effect is used in this recipe. A fade effect is outlined in the There's more... section.
If you want to see a demo, it is located in theChapter 6 folder.
2. Input the following code:
<?xml version="1.0" encoding="UTF-8"?> <data> <quote>There's a special joy that comes with tweening.</quote> <quote>See? You, too, can create SWFs from scratch.</quote> <quote>Randomness is good for the soul. </quote> <quote>If you code it, they will come.</quote> <quote>Movie clips and text fields and code - Oh my!</quote> <quote>Ancient proverb: To code a site is to truly know a site...