Serious Guy
Home
About
Services
Software
 DekoCast FAQ
Contact


How do I change text styles or colors in a Deko object?

Change Deko Styles

You can select different text styles - colors, fonts, sizes, shadows, etc - in a Deko object, even combine multiple styles in a single object, by embedding the <style> or <preset> tags in the text override or contents text.

For example, suppose you design a red font and save the Deko style as "red.sty" in the default folder Deko uses for styles.  Save a green style in "green.sty" and a normal white style in "white.sty".  To mix these styles in a single Deko object, set the text override or contents field to something like:

<style file="white.sty"/>My text can be <style file="red.sty"/>red<style file="white"/> or <style file="green.sty"/>green

You can also change text styles by selecting different presets - the eight styles that appear in the thumbnails just below the graphic window in Deko.  Suppose you have a white style in preset 1, a red style in preset 2, and a green style in preset 3.  The previous example could be written:

<preset id="1"/>My text can be <preset id="2"/>red<preset id="1"/> or <preset id="3"/>green

<style> and <preset> are two of the "Deko tags" - special directives that can be embedded in text override or contents text.  You can also select different layers, load arbitrary dko files, or even execute arbitrary Deko macro code.  For a complete list of these tags, download Pinnacle's DekoTags example (about 120K bytes), or you can just view the readme file here directly.  The example is a self-extracting exe that creates a new DekoTags folder in C:/DekoCast/samples. This is an unsupported example created and owned by Pinnacle Systems/Avid Technology. The copy on this site is provided for your convenience.

See the Images in a Crawl FAQ for an example of how to mix arbitrary image files and text in a crawl.


last modified 12/20/2006

back to top

send comments

© 2005-2007 Serious Intent. The content of these pages is the opinion of the individual contributors. No guarantee is made as to the accuracy or completeness of the information contained here. This site is not affiliated with or endorsed by Pinnacle Systems or Avid Technology. Have a nice day!