Scholar Repository
Home>Manual>Sets the text field alignment

Sets the text field alignment


SWFTextField->align

(PHP 4 >= 4.0.5)

SWFTextField->alignSets the text field alignment

Description

void SWFTextField::align ( int $alignement )
Warning

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

swftextfield->align() sets the text field alignment to alignement. Valid values for alignement are : SWFTEXTFIELD_ALIGN_LEFT, SWFTEXTFIELD_ALIGN_RIGHT, SWFTEXTFIELD_ALIGN_CENTER and SWFTEXTFIELD_ALIGN_JUSTIFY.

Return Values

No value is returned.


Home>Manual>Sets the text field alignment