CSS 属性 | ActionScript 属性 | 描述 |
color | color | 十六进制值 #RRGGBB |
display | display | 显示文本方式: inline,block,none |
font-family | fontFamily | 字体类型 |
font-size | fontSize | 字体大小 |
font-style | fontStyle | normal 或 italic |
font-weight | fontWeight | normal 或 bold |
kerning | kering | true 或 false, 只对嵌入字体有效 |
margin-left | marginLeft | 左边距 |
margin-right | marginRight | 右边距 |
text-align | textAlign | 对齐方式: left,center,right,justify |
text-decoration | textDecoration | none,underline |
text-indent | textIndent | 缩进 |