Hi honsbeek,
as already written above, the way of creating a newsticker is not as simple as many things have to happen. Let me try to talk you through:
STEP 1:First of all let's start with creating the png-file holding the text.
You do not need to have a file as this is created by the Widget itself. The command "WDTextConvertToHorizontalScrollTextPNG" is used as follows:
"WDTextConvertToHorizontalScrollTextPNG,Text(),Font(),File,Red,Green,Blue,Alpha"- whereas
Text() is either a simple text typed in without any brackets or is being used as a variable. The variable may as well be an array.
- whereas
Font() is either a variable (array) or is exchanged by values defining the look of the text. Parameters to be inserted are:
- Font/Size/Style/R/G/B/A
-Font is the name of the font
-Size is the text size in pixels
-Style is defining the look with following parameters: Regular,Bold,Italic,Underline,Strikeout
-R/G/B/A is the text color including alpha channel
example: Arial/20/Italic/255/0/0/255
- whereas
File is a file path on your Manager/Master harddrive such as C:\coolux\content\MYPNG.png
- whereas
Red,Green,Blue,Alpha is the background color of the png including alpha channel
Using this command you can create a png on your harddrive.
STEP 2a:This png can now be used inside PandorasBox on every layer. Using the effect "UV Scroll" from the Aeon effects "UV Mapping"you can already now create a running text.
As soon as you take another png file or edit the existing one it will be scaled differently in the heights as the default layer behavior will be "horizontal and vertical fit". Therefore all created images will fit the horizontal space of your output, but will change in the height.
STEP 2b:In order to preserve the height of your running text you will need to set the layer to a fixed aspect ratio such as 4:3.
Bring down the Y-Scale until the original aspect ratio is reached again. This is the easiest by just using another layer underneath and comparing both.
Mathematically it would be: LayerAspectRatio:ContentAspectRatio=ScaleFactor
e.g.:
1692 x 34 Pixel content (49,765:1)
4:3 layer ratio (1,333)
=> 1,333 : 49,765 = 0,027
STEP 3:Drag the effect "AutoAspect Scroll Horizontal" onto your layer holding the running text picture. Type in the Pixel width of your screen in order to calculate the correct tiling on that layer while stretched over one output. It would be 2x your screen width, if you are using the effect adjusted over two screens side by side. Blend over to the running text by using the Mix parameter. The "Speed X"-parameter will let you adjust the desired speed.
Example:WDTextConvertToHorizontalScrollTextPNG,This is my text for breaking news which ends up in a png-file of a resolution of 1692x34 pixels. +++ BREAKING NEWS: It works!!! +++,Arial/20/Italic/255/0/0/255,c:\coolux\MYPNG.png,64,64,64,255
newsticker.png
Cheers
Markus
You do not have the required permissions to view the files attached to this post.