Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: swf_definetext - Manual
[go: Go Back, main page]

PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

swf_endbutton" width="11" height="7"/> <swf_definerect
Last updated: Mon, 05 Feb 2007

view this page in

swf_definetext

(PHP 4)

swf_definetext — テキスト文字列を定義する

説明

void swf_definetext ( int objid, string str, int docenter )

現在のフォントおよびフォントサイズを使用して、テキスト文字列を定義します。

パラメータ

objid

オブジェクト ID。

str

テキストを表す文字列。

docenter

docenter は単語のセンタリングを定義します。 docenter が 1 の場合、単語は x 方向にセンタリングされます。

返り値

値を返しません。



add a note add a note User Contributed Notes
swf_definetext
zarek at jazdesign dot com
23-Jun-2001 01:28
Horizontal Text Example
//setting up variables

$Xposition = 50;
$Yposition = 50;
$Zposition = 0;
$Obj_depth = 1;
$char = THIS IS THE TEXT;
// begin swf

swf_pushmatrix ();
$firstid = swf_nextid ();
swf_definefont ($firstid, "Mod");
swf_fontsize (10);
$secondid = swf_nextid ();
swf_definetext ($secondid, $char, 1);
swf_translate ($Xposition, $Yposition, Zposition);
swf_placeobject ($secondid, $Obj_depth);
swf_popmatrix ();

swf_endbutton" width="11" height="7"/> <swf_definerect
Last updated: Mon, 05 Feb 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites