Words

A collection of words.

Methods:

add, addBefore, getByName, removeAll

Property Listing

Property

Type

Access

Description

length

Int

readonly

Number of elements in the collection.

parent

 

readonly

The object's container.

typename

String

readonly

The class name of the object.

Method Listing

TextRange add (contents:String)

Create a word.

Parameter

Type

Description

contents

String

The text string.

TextRange addBefore (contents:String)

Parameter

Type

Description

contents

String

The text string.

TextRange getByName (name:String)

Get the first element in the collection with the provided name.

Parameter

Type

Description

name

String

 

undefined removeAll ()

Deletes all elements.

Object of

Story.words

TextFrameItem.words

TextRange.words

InsertionPoint.words