note 13579 deleted from function.swf-definetext by didou
| From: | didou@php.net | Date: | Mon, 31 Dec 2007 01:53:16 +0000 |
| Subject: | note 13579 deleted from function.swf-definetext by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134591@lists.php.net to get a copy of this message | ||
Note Submitter: zarek at jazdesign dot com
----
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 ();