Using flashTickerFX with a text file
 

When using the text option, you must save your fla before testing it in order for Flash to locate the relative path to the text file.

Note: Images and links cannot be defined in a text file, for more features, we recommend using an XML file.

The numbers # 1 through # 5 detail how to define the basic parameters.


 

  Property Description
1

XML/TEXT FILE

Define the text file with a name (for example 'ticker.txt'). If the text 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.txt"
2 FILE TYPE Select the file type to load. In this case, select "text".
3 DATA ARRAY Omit when using text file.
4 TARGET IS URL Sets a default value for target types. Set to 'true' if links are URLs. If 'false' links will open anywhere else inside of Flash (e.g. open in a movie clip, another level, etc).
5 TARGET ARRAY An array of targets. The order in which the targets are entered correspond to the order in which the topics are listed.
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 text file: (you may create a text file using any text editor, such as Notepad)


 

Description Syntax Example of complete text file

Start of text file

content=###

content=###

This is topic one.

###

This is topic two. <font face="Verdana">Text in Verdana.</font>

###

This is topic three. Additional content in topic three.

###

<b>Bold text</b>. Continue using default font.

###

<u>An example of underlined text</u>. <i>An example of italic text</i>.

###

 

Set a Topic
(supports HTML tags)

Begin topic on a new line and end topic with “###” on a new line.

 

For example:
 

This is the content of topic one.

###

This is the content of topic two.

###

 

 

Note: The order in which the topics appear in the text file determines the order in which the topics will be displayed.

If you use as ampersand (&) symbol in your topic text it must be replaced with "%26"  (without the quotation marks).

The percentage (%) symbol in your topic text must be replaced with "%25"  (without the quotation marks).
 

The example above demonstrates one method of using bold text. For further explanation as to how to specify bold text correctly, please click here to read the section on embedding fonts.

 

To add a line break, use the html <br> tag (this tag cannot be used for the typewriter effect). For example:

This is topic one.<br>Second line of topic one.
###
This is topic two.<br>Second line of topic two.
###
This is topic three.<br>
Second line of topic three.