General Info on all Windows
February 22, 1999
You've seen a number of examples of
RealText
and how it can be used. The
attributes of the various window types are very similar.
The attributes are listed below with
explanations and information on which window types
they control.
| type="window type" |
This is where you enter the way the text is displayed: generic,
tickertape, scrollingnews or teleprompter |
| duration="dd:hh:mm:ss.xyz" |
The duration is best handled in seconds |
| width="pixels" |
height="pixels" Controls the height of the window |
| bgcolor="color" |
Controls background color, the default is black |
| scrollrate="pixels per second" |
Only used in Scrollingnews. Controls the number of pixels the word
moves per second vertically. The default is 10 pixels/sec |
| crawlrate="pixels per second" |
Only used in Tickertape. Controls the number of pixels the word moves
per second horizontally. The default is 20 pixels/sec |
| link="color" |
Controls the color of hyperlinks |
| underline_hyperlinks="true|false" |
Hyperlinks can be either underlined or not underlined |
| wordwrap="true|false" |
Specifies if a long string of words returns to the next line if it is
wider than the window width |
| loop="true|false" |
Only used in Tickertape. Controls if the crawling text reappears after
finishing its first pass |
Time
In a synchronized presentation controlling time is
very important. Having
items appear and disappear is critical to a successful presentation. In
SMIL,
this is controlled by the TIME tag. In the examples
above you saw these tags
used to make text appear on the screen after
the presentation starts. Time is
measured from the beginning of the presentation. It is used as follows:
<time begin="12"
end="25"/>This text first appears
at 12 seconds then
disappears at 25 seconds
As I noted in the first article
SMIL
is based on
XML
so there are no
</end> tags.
The <clear> tag is used to wipe text
from the screen. The following code wipes all text from the screen at 30
seconds into the presentation, except text that has an <time end>
specified.
<time begin="30"/><clear/>
What Can It Do
RealText--Text Synchronization with Digital Media
Positioning
|