macromedia.director.basics
[Top] [All Lists]

Re: Dynamic Font properties.

Subject: Re: Dynamic Font properties.
From: "Rob Dillon" <rob@xxxxxxxxxxxxxxx>
Date: Fri, 14 Dec 2007 14:07:36 +0000 (UTC)
Newsgroups: macromedia.director.basics

Select the Categorized Lingo menu from either a Script window or the Message 
Window. From there select Media Element and then Text. From the Text submenu, 
select Formatting. You should see a list of all of the properties that you can 
address for a Text Member.Of these, you probably only really care about color, 
font, fontSize and fontStyle.

 The color property can be expressed as an rgb, palette number or hex value. 
but what you probably want to do is to give the user an interface to select a 
color. You could give the user a list of color names, or a set of color 
swatches, or something similar and then translate the selection to a value that 
you use to change the text color.


<Prev in Thread] Current Thread [Next in Thread>