note 13579 added to function.swf-definetext.php
| From: | zarek at jazdesign dot com | Date: | Fri, 22 Jun 2001 13:28:15 +0000 |
| Subject: | note 13579 added to function.swf-definetext.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14559@lists.php.net to get a copy of this message | ||
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 ();
http://www.php.net/manual/en/function.swf-definetext.php