SWFText->setSpacing
SWFTextField->addChars
Ming
PHP Manual

# The SWFTextField class

## Introduction

SWFTextField.

## Class synopsis

SWFTextField
class SWFTextField {
/* Methods */
void addChars ( string `$chars` )
void addString ( string `$string` )
void align ( int `$alignement` )
SWFTextField __construct ([ int `$flags` ] )
void setBounds ( int `$width` , int `$height` )
void setColor ( int `$red` , int `$green` , int `$blue` [, int `$a` ] )
void setFont ( string `$font` )
void setHeight ( int `$height` )
void setIndentation ( int `$width` )
void setLeftMargin ( int `$width` )
void setLineSpacing ( int `$height` )
void setMargins ( int `$left` , int `$right` )
void setName ( string `$name` )
void setPadding ( float `$padding` )
void setRightMargin ( int `$width` )
}

## Table of Contents

- SWFTextField->addChars — adds characters to a font that will be available within a textfield
- SWFTextField->addString — Concatenates the given string to the text field
- SWFTextField->align — Sets the text field alignment
- SWFTextField->__construct — Creates a text field object
- SWFTextField->setBounds — Sets the text field width and height
- SWFTextField->setColor — Sets the color of the text field
- SWFTextField->setFont — Sets the text field font
- SWFTextField->setHeight — Sets the font height of this text field font
- SWFTextField->setIndentation — Sets the indentation of the first line
- SWFTextField->setLeftMargin — Sets the left margin width of the text field
- SWFTextField->setLineSpacing — Sets the line spacing of the text field
- SWFTextField->setMargins — Sets the margins width of the text field
- SWFTextField->setName — Sets the variable name
- SWFTextField->setPadding — Sets the padding of this textfield
- SWFTextField->setRightMargin — Sets the right margin width of the text field

SWFText->setSpacing
SWFTextField->addChars
Ming
PHP Manual