note 37880 added to function.swftext
| From: | p_smiecho at interia dot pl | Date: | Mon, 01 Dec 2003 08:26:31 +0000 |
| Subject: | note 37880 added to function.swftext | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-61192@lists.php.net to get a copy of this message | ||
It seems to me that there is a bug: everything works perfect but only with Linux. SWFText crashes
while working on Windows. So I do it that way:
$f = new SWFFont('Arial');
$t = new SWFTextField();
$t -> setFont($f);
$t -> addString('Hello world!!!');
$p = new SWFSprite();
$i = $p -> add($t);
$i -> moveto(100, 100); // Here you can move text !!
//$p -> remove($i);
$m = new SWFMovie();
...
$m -> add($p);
Of course it writes text where I want, but I still can't get other methods of SWFText class.
For example: I can't get text width (swftext->getwidth).
----
Manual Page -- http://www.php.net/manual/en/function.swftext.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37880
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37880&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37880&report=yes
Search -- http://master.php.net/manage/user-notes.php