©
本文档使用 PHP中文网手册 发布
(PHP 5 <= 5.3.0, PECL ming SVN)
SWFTextField::__construct — Creates a text field object
$flags
] )此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的 PHP 发布版本中未通知就被修改。使用本函数风险自担 。
swftextfield() creates a new text field object. Text Fields are less flexible than swftext() objects- they can't be rotated, scaled non-proportionally, or skewed, but they can be used as form entries, and they can use browser-defined fonts.
The optional flags change the text field's behavior. It has the following possibles values :
<?php
$t = newSWFTextField ( SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT );
?>
SWFTextField has the following methods : swftextfield::setfont() , swftextfield::setbounds() , swftextfield::align() , swftextfield::setheight() , swftextfield::setleftmargin() , swftextfield::setrightmargin() , swftextfield::setmargins() , swftextfield::setindentation() , swftextfield::setlinespacing() , swftextfield::setcolor() , swftextfield::setname() and swftextfield::addstring() .