Bold

From Frontal Wiki

Jump to: navigation, search

Contents

Purpose

This style determines whether or not the text style is bold.


Value

The bold style accepts boolean values "true" or "false". The default value is "false".

bold: false;


Remarks

Making the text bold is a Flash feature. See the Flash reference for TextFormat.bold for more details. Also see the "b" tag documented with TexField.htmlText for a way to make only a selection of text bold.

Also see: FAQs#Why_don.27t_italic_and_bold_work.3F


Example

The first line shows the text bold and the second line shows only part of the text bold:

<style>
   text
   {
       font-family: Swift LT Std;
       font-size: 20px;
   }  
   div
    {
	bold: true;
    }
</style> 
<include rel="assets" blocking="true" src="assets.swf" fontClasses="SwiftLTStd, SwiftLTStdBold, SwiftLTStdItalic" />
<div>bold text in a div element.</div>
<text><![CDATA[<b>bold text</b> in a text element.]]></text>

Can Be Applied To

This style can be applied to:


This page is PENDING
Personal tools
Get Adobe Flash player