text.embedRanges

Availability

Flash MX 2004.

Usage

text.embedRanges

Description

Property; a string that consists of delimited integers that correspond to the items that can be selected in the Character Embedding dialog box. This property works only with dynamic or input text; it is ignored if used with static text.

Note: This property corresponds to the XML file in the Configuration/Font Embedding folder.

Example

The following example sets the embedRanges property to "1|3|7":

var doc = fl.getDocumentDOM(); 
doc.selection[0].embedRanges = "1|3|7";

The following example resets the property:

var doc = fl.getDocumentDOM(); 
doc.selection[0].embedRanges = "";