note 68564 added to function.swftext
| From: | samrerb at gmail dot com | Date: | Wed, 02 Aug 2006 03:19:05 +0000 |
| Subject: | note 68564 added to function.swftext | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-115433@lists.php.net to get a copy of this message | ||
a note to add to p_smiecho at interia dot pl's post:
when you do a $movie->add($t); it will return a SWFDisplayItem which can then be moved so your
code can be simplified to this:
<?php
$f = new SWFFont('Arial');
$t = new SWFTextField();
$t -> setFont($f);
$t -> addString('Hello world!!!');
$m = new SWFMovie();
...
$ttwo=$m->add($t);
$ttwo->moveTo(300, 300);
?>
(on a windows box running Ming .2)
----
Server IP: 64.71.164.2
Probable Submitter: 24.60.214.49
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.swftext.php
Edit -- https://master.php.net/note/edit/68564
Del: integrated -- https://master.php.net/note/delete/68564/integrated
Del: useless -- https://master.php.net/note/delete/68564/useless
Del: bad code -- https://master.php.net/note/delete/68564/bad+code
Del: spam -- https://master.php.net/note/delete/68564/spam
Del: non-english -- https://master.php.net/note/delete/68564/non-english
Del: in docs -- https://master.php.net/note/delete/68564/in+docs
Del: other reasons-- https://master.php.net/note/delete/68564
Reject -- https://master.php.net/note/reject/68564
Search -- https://master.php.net/manage/user-notes.php