TextField

Additional properties added for Flash 8

Summary
Additional properties added for Flash 8
An Array of Filters that are applied to the TextField.

Properties

antiAliasType

var antiAliasType: String

filters

var filters: Array

An Array of Filters that are applied to the TextField.

Example

// STEP 1 Creates a ‘tf’ TextField size 800x600 at pos 100, 100

scope.createTextField(“tf”, scope.getNextHighestDepth(), 10, 100, 600, 40);

// STEP 2 Write some text into it

scope.tf.text = “The quick brown fox jumped over the lazy dogs.”;

// STEP 3 Apply some formatting

var fmt:TextFormat = new TextFormat();

fmt.bold = true;

fmt.size = 30;

scope.tf.setNewTextFormat(fmt);

// STEP 4 Apply a DropShadowFilter

var myFilter = new flash.filters.DropShadowFilter();

myFilter.angle = 35;

myFilter.distance = 55;

scope.tf.filters = [myFilter];

gridFitType

var gridFitType: String

sharpness

var sharpness: Number

thickness

var thickness: Number
var antiAliasType: String
var filters: Array
An Array of Filters that are applied to the TextField.
var gridFitType: String
var sharpness: Number
var thickness: Number