note 91876 added to function.swftext.construct
| From: | DerHorstgmail dot com at osu1 dot php dot net | Date: | Tue, 30 Jun 2009 16:32:32 +0000 |
| Subject: | note 91876 added to function.swftext.construct | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-157703@lists.php.net to get a copy of this message | ||
Note that the statet example does not work (at least in Ming Version 0.3.0).
Another possibility to add a string with ming is to set up a TextField first.
Here a (simple keeped) examplecode, working for copy & paste:
<?php
$m = new SWFMovie();
$m->setDimension(160, 160);
$t = new SWFTextField();
// Set the width and height of the TextField
$t->setBounds(150, 150); // not required, but very usefull for not cut the chars
$t->setFont(new SWFFont("_serif"));
$t->addString('Your string here');
// Example for manipulating the properties of the string:
$t->setHeight(15);
$m->add($t);
header('Content-type: application/x-shockwave-flash');
$m->output();
?>
----
Server IP: 217.160.72.57
Probable Submitter: 85.176.111.211
----
Manual Page -- http://www.php.net/manual/en/function.swftext.construct.php
Edit -- https://master.php.net/note/edit/91876
Del: integrated -- https://master.php.net/note/delete/91876/integrated
Del: useless -- https://master.php.net/note/delete/91876/useless
Del: bad code -- https://master.php.net/note/delete/91876/bad+code
Del: spam -- https://master.php.net/note/delete/91876/spam
Del: non-english -- https://master.php.net/note/delete/91876/non-english
Del: in docs -- https://master.php.net/note/delete/91876/in+docs
Del: other reasons-- https://master.php.net/note/delete/91876
Reject -- https://master.php.net/note/reject/91876
Search -- https://master.php.net/manage/user-notes.php