Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > main > by-pkgid > 0afeee9cca140e167a996902b9a677c5 > files > 2714

php-manual-en-4.3.0-2mdk.noarch.rpm

<HTML
><HEAD
><TITLE
>SWFTextField</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="PHP Manual"
HREF="index.html"><LINK
REL="UP"
TITLE="Ming functions for Flash"
HREF="ref.ming.html"><LINK
REL="PREVIOUS"
TITLE="SWFTextField->setrightMargin"
HREF="function.swftextfield.setrightmargin.html"><LINK
REL="NEXT"
TITLE="Miscellaneous functions"
HREF="ref.misc.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=ISO-8859-1"></HEAD
><BODY
CLASS="refentry"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PHP Manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.swftextfield.setrightmargin.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="ref.misc.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.swftextfield"
></A
>SWFTextField</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN55167"
></A
><P
>    (PHP 4 &#62;= 4.0.5)</P
>SWFTextField&nbsp;--&nbsp;Creates a text field object</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN55170"
></A
><H2
>Description</H2
>new <B
CLASS="methodname"
>swftextfield</B
> ( [int flags])<BR
></BR
><DIV
CLASS="warning"
><P
></P
><TABLE
CLASS="warning"
BORDER="1"
WIDTH="100%"
><TR
><TD
ALIGN="CENTER"
><B
>Warning</B
></TD
></TR
><TR
><TD
ALIGN="LEFT"
><P
>This function is
<SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>EXPERIMENTAL</I
></SPAN
>. The behaviour of this function, the
name of this function, and anything else documented about this
function may change without notice in a future release of PHP. 
Use this function at your own risk.</P
></TD
></TR
></TABLE
></DIV
><P
>&#13;     <B
CLASS="function"
>swftextfield()</B
> creates a new text field object. 
     Text Fields are less flexible than <A
HREF="function.swftext.html"
><B
CLASS="function"
>swftext()</B
></A
> 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.
    </P
><P
>&#13;     The optional flags change the text field's behavior. It has the following
     possibles values : 
     <P
></P
><UL
><LI
><P
>&#13;        SWFTEXTFIELD_DRAWBOX draws the outline of the textfield
       </P
></LI
><LI
><P
>&#13;        SWFTEXTFIELD_HASLENGTH 
       </P
></LI
><LI
><P
>&#13;        SWFTEXTFIELD_HTML allows text markup using HTML-tags
       </P
></LI
><LI
><P
>&#13;        SWFTEXTFIELD_MULTILINE allows multiple lines
       </P
></LI
><LI
><P
>&#13;        SWFTEXTFIELD_NOEDIT indicates that the field shouldn't be user-editable
       </P
></LI
><LI
><P
>&#13;        SWFTEXTFIELD_NOSELECT makes the field non-selectable 
       </P
></LI
><LI
><P
>&#13;        SWFTEXTFIELD_PASSWORD obscures the data entry
       </P
></LI
><LI
><P
>&#13;        SWFTEXTFIELD_WORDWRAP allows text to wrap
       </P
></LI
></UL
>
     Flags are combined with the bitwise 
     <A
HREF="language.operators.bitwise.html"
>OR</A
> operation. For example, 
     <TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
CELLPADDING="5"
><TR
><TD
><PRE
CLASS="php"
>&#60;?php
$t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); 
?&#62;</PRE
></TD
></TR
></TABLE
>
      creates a totally useless non-editable password field. 
    </P
><P
>&#13;     SWFTextField has the following methods : <B
CLASS="function"
>swftextfield-&#62;setfont()</B
>,
     <B
CLASS="function"
>swftextfield-&#62;setbounds()</B
>, <B
CLASS="function"
>swftextfield-&#62;align()</B
>, 
     <B
CLASS="function"
>swftextfield-&#62;setheight()</B
>, <B
CLASS="function"
>swftextfield-&#62;setleftmargin()</B
>, 
     <B
CLASS="function"
>swftextfield-&#62;setrightmargin()</B
>, <B
CLASS="function"
>swftextfield-&#62;setmargins()</B
>, 
     <B
CLASS="function"
>swftextfield-&#62;setindentation()</B
>, <B
CLASS="function"
>swftextfield-&#62;setlinespacing()</B
>, 
     <B
CLASS="function"
>swftextfield-&#62;setcolor()</B
>, <B
CLASS="function"
>swftextfield-&#62;setname()</B
> and 
     <B
CLASS="function"
>swftextfield-&#62;addstring()</B
>.
    </P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.swftextfield.setrightmargin.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="ref.misc.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>SWFTextField-&#62;setrightMargin</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.ming.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Miscellaneous functions</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>