note 36198 added to function.swffont
| From: | gabrielsanroman at hotmail dot com | Date: | Tue, 30 Sep 2003 15:08:06 +0000 |
| Subject: | note 36198 added to function.swffont | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-57501@lists.php.net to get a copy of this message | ||
for windows
<?
Ming_setScale(1.0);
$f = new SWFFont("_sans"); // you can't use fdbs
$t = new SWFTextField(); // SWFText doesn't work with _sans or _typewriter fonts
$t->setFont($f);
$t->setColor(0xff, 0xff, 0);
$t->setHeight(120);
$t->addString("TEXT");
$m = new SWFMovie();
$m->setDimension(540, 360);
$i = $m->add($t);
$i->moveTo(200, 240); // SWFTextField doesn't have moveto
header('Content-type: application/x-shockwave-flash');
$m->output();
?>
----
Manual Page -- http://www.php.net/manual/en/function.swffont.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+36198
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+36198&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+36198&report=yes