Groups | Blog | Home
all groups > flash (macromedia) > september 2005 >

flash (macromedia) : Creating a Trademark in CSS/HTML


rring
9/6/2005 11:18:56 PM
Hi.
My SWF is loading both a CSS Style page and an HTML page into a dynamic text
box. The CSS formatting is working beautifully. My problem is that Im trying
to create a trademark beside a product name that is in the HTML, which would
normally require either the <SUP> HTML tag or the CSS property {vertical-align:
super;
NSurveyor
9/7/2005 12:08:37 AM
Listen to Kirupa, he's a smart guy... Look up "Supported CSS properties" in the
Help Panel: http://livedocs.macromedia.com/flash/mx2004/main_7_2/00001015.html

CSS property ActionScript property Usage and supported values

text-align textAlign Recognized values are left, center, and right.
font-size fontSize Only the numeric part of the value is used. Units (px,
pt) are not parsed; pixels and points are equivalent.
text-decoration textDecoration Recognized values are none and underline.
margin-left marginLeft Only the numeric part of the value is used. Units
(px, pt) are not parsed; pixels and points are equivalent.
margin-right marginRight Only the numeric part of the value is used. Units
(px, pt) are not parsed; pixels and points are equivalent.
font-weight fontWeight Recognized values are normal and bold.
font-style fontStyle Recognized values are normal and italic.
text-indent textIndent Only the numeric part of the value is used. Units
(px, pt) are not parsed; pixels and points are equivalent.
font-family fontFamily A comma-separated list of fonts to use, in descending
order of desirability. Any font family name can be used. If you specify a
generic font name, it will be converted to an appropriate device font. The
following font conversions are available: mono is converted to _typewriter,
sans-serif is converted to _sans, and serif is converted to _serif.
color color Only hexadecimal color values are supported. Named colors (such
as blue) are not supported. Colors are written in the following format: #FF0000.
display display Supported values are inline, block, and none.
AddThis Social Bookmark Button