Using flashTickerFX with an XML file
When using the XML option, you must save your fla before testing it in order for Flash to locate the relative path to the XML file.
The numbers # 1 through # 6 detail how to define the basic parameters:

| Property | Description | |
| 1 |
XML/TEXT FILE |
Define the XML file with a name (for example 'ticker.xml'). If the XML file is located in a different folder to the swf which contains the flashTickerFX, the relative path must be entered here as well. For example: "testfolder/ticker.xml" |
| 2 | FILE TYPE | Select the file type to load. In this case, select "xml". |
| 3 | DATA ARRAY | Omit when using XML. |
| 4 | TARGET IS URL | Sets a
default value for target types.
Set to 'true' if links are URLs. If 'f |
| 5 | TARGET ARRAY | Omit when using XML. |
| 6 | TARGET NAME | Define where your target should open. For example, if you want to open a URL in a new window, you would type "_blank" (without quotation marks). Or if you want to open the target in level 1, you'd type "_level1" (without quotation marks). To open a target in a movie clip, you would enter the instance name of the movie clip. |
How to create a flashTicker XML file:
| Description | Syntax | Example of complete XML file |
| Start of topic | <topic> |
<?xml
version="1.0"?>
<ticker>
<topic>
<text>This topic opens an swf
in a target movieClip.</text>
<image>image1.jpg</image>
<link>myMovie.swf</link>
<targetIsUrl>N</targetIsUrl> </topic>
<text>This topic opens an swf in level 2</text>
<link>myNewMovie.swf </link>
<target>_level2</target>
</topic>
<topic>
<text>This topic opens a URL in a new browser window.</text>
<link>http://www.flashloaded.com</link>
<target>_blank</target>
</topic>
|
| Define topic text | <text>Topic text here</text>
|
|
|
Define topic image (optional) |
<image>image1.jpg</image> |
|
|
Define link (optional) |
<link>http://www.YOURURL.com</link> | |
|
Define target (optional) |
<target>myTarget</target> |
|
|
Define if target is URL (optional) |
<targetIsUrl>Y</target> | |
| End of topic | </topic> |
|
| End of XML | </ticker> |
Note: The order in which the topics appear in the XML determines the order in which the topics will be displayed.
The only images which may be used are jpegs. It is important that the jpegs are not saved as "progressive" as Flash cannot load progressive jpegs.