Flash Bestiary / Fun with Text / XML Ticker |
|
XML TickerThis final ticker gets content from an XML file. A sample XML file is shown below. You can add HTML formatting directly to the text, as I've done with the [u] tags on the last line, but to keep it from being parsed by the XML parser, you must use square brackets (these will get turned back into angle brackets when the XML is parsed). In addition, you may the XML attributes 'debut', 'exit', 'color' and 'url' on each line. Default 'color' and 'url' attibutes may be provided on the enclosing 'ticker' tag. Sample XML File:
UPDATE: The source code below now contains an Actionscript 3 version, in addition to the original Flash MX code. |
|
|
|
Next: Underwood |
Copyright © 2003,2008 by Jim Bumgardner. All Rights Reserved. Leave Jim some feedback