Home -> FPP plugins page -> ticker.swf
This plugin is completely free for use in any context or connection.
ticker.swf
FPP hotspot plugin for showing a ticker tape with text and images. Texts and images can be linked to execute FPP commands, open web pages or send emails.
The following hotspot parameters are supported in FPP xml file:

xmlfilexmlFile=ticker.xmlplugin control XML file
actionaction="speed=-6"set or change ticker speed,
supported values: -10 - 10, + and -
or
action="stop=1"will immediately stop the ticker
or
action="restart=1"restarts the ticker (from zero repetitions)


In plugin external xml file, the following tags and attributes are supported:

In <ticker> tag:
sizesize="400:30"absolute size of ticker window
or
size="100%:35"relative size of ticker window
bordercolorbordercolor="#000000"color of ticker window border
borderwidthborderwidth="3"width of ticker window border
bgcolorbgcolor="#FFFFF0"ticker window background color
speedspeed="6"ticker speed: 1 - 10, default=5
repeatrepeat="5"number of ticker passes, default=999
tooltiptooltip="1"activate link tooltips, 0 or 1
In <text> tag:
commandcommand="event:global.gotower()"command executed when text is clicked (see below)
targettarget="_blank"used when opening a new web page
Ticker text is specified inside the <text> tag:<text>This is a ticker text</text>
In <image> tag:
urlurl="img/thumb12.png"image file url
commandcommand="http://mysite.com/panos"command executed when image is clicked (see below)
targettarget="_blank"used when opening a new web page


Furthermore the following format attributes are supported in all tags:

font="Verdana"
textColor="#00FF00"
textSize="24"
bold="0"
italic="1"
underline="1"
bgColor="#000080"
leftMargin="10"
rightMargin="15"

Format attributes written in the <ticker> tag are used as default.



NOTES:

All tag names must be written in lower case, but attribute names are case independent (bgColor is equal to bgcolor).


When setting ticker speed with the action="..." attribute, you can either give an absolute value in the range from -10 to +10, or use the "+" or "-" signs to increase or decrease the speed. When the speed value is positive, the ticker will move from right to left, and when it has a negative value, the ticker will move from left to right.
Examples:

action="speed=4"slow ticker speed - moving from right to left
action="speed=-8"fast ticker speed - moving from left to right
action="speed=+"adds 1 to ticker speed (may change ticker direction)
action="speed=-"subtract 1 from ticker speed (may change ticker direction)


If the command attribute contains an FPP command, it must have the prefix "event:", otherwise it will be interpreted as an url (that is the way this Flash component works).
To execute an FPP command:command="event:pano.pan=120,3000"
To open a web page in a new window:command="http:mysite.com/panos" target="_blank"
And to open the email client:command="mailto:myname@mysite.com"


If tooltips are activated and a text or an image is lacking the "tooltip" attribute, up to 20 characters of the "command" will be shown instead.


The plugin is monitoring the xmlFile parameter. Setting it to a new value will make the plugin load and parse the new xml file and build a new ticker.



Example plugin XML file:

<?xml version = '1.0'?>
<ticker
   size="360:30"
   bgColor="#000000"
   borderColor="#FFFFFF" 
   borderWidth="1"

   repeat="3"
   speed="5"

   font="Times New Roman"
   textColor="#5050FF"
   textSize="16"
   bold="0"
   italic="0"
   underline="0"
>

   <image url="images/smiley1.png" command="event:pano.pan=100,3000;pano.tilt=-10,3000" />
   <text font="Verdana" textColor="#00FF00">Donec venenatis commodo leo </text>
   <image url="images/pano1.jpg" command="event:global.goMariaHill()" />
   <text textSize="24">Lorem ipsum</text>
   <text textSize="24" textColor="#FFFF00" command="mailto:tommy@wirestam.com"> dolor</text>
   <text textSize="24" textColor="#FF80FF">sit amet</text>
   <image url="images/smiley1.png" command="event:pano.pan=-100,3000;pano.tilt=10,3000" />
   <text font="Comic Sans MS" textSize="16" bold="0" textColor="#FFFFFF" bgColor="#000080">consectetur adipiscing elit</text>
   <text textColor="#FF0000" bold="1" leftMargin="10">Morbi eget mattis sapien</text>
</ticker>
						


Version history:

1.11:
Fixed bug with repeat setting when changing ticker speed or resizing pano.
Setting for repeat changed - repeat="0" no longer means forever. Default is now repeat="999".

1.10:
Added support for relative size.
Added support for ticker direction left to right.