note 36198 deleted from function.swffont by vincent
| From: | vincent@php.net | Date: | Tue, 30 Sep 2003 15:12:02 +0000 |
| Subject: | note 36198 deleted from function.swffont by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57503@lists.php.net to get a copy of this message | ||
Note Submitter: gabrielsanroman@hotmail.com
----
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();
?>