#23973 [Opn->Fbk]: Ming Funtion don't work
| From: | sniper@php.net | Date: | Sun, 13 Jul 2003 05:12:22 +0000 |
| Subject: | #23973 [Opn->Fbk]: Ming Funtion don't work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-43877@lists.php.net to get a copy of this message | ||
ID: 23973
Updated by: sniper@php.net
Reported By: vicviper at skcc dot com
-Status: Open
+Status: Feedback
Bug Type: Ming related
Operating System: XP sp1a, Win2K sp3
PHP Version: 4.3.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2003-06-03 02:36:32] vicviper at skcc dot com
OS : Windows 2K sp3, Windows XP sp1 Hangul Version
HTTPD : Apache2, IIS 5.0
Browser : IE 6.0
don't work it or Crash System.
<?
$f = new SWFFont("_sans"); //Crash
/*
$f = new SWFFont("test.fdb"); //Crash
$f = new SWFFont("_sarif"); //Crash
etc. etc. etc....
*/
$t = new SWFText();
$t->setFont($f);
$t->setColor(255, 0, 0);
$t->setHeight(60);
$t->addString("Advanced PHP");
$m = new SWFMovie();
$m->setDimension(320, 240);
$i = $m->add($t);
$i->moveTo(160-$t->getWidth("Advanced PHP")/2,
120+$t->getAscent()/2);
$filename ="test.swf";
$m->save($filename);
?>
<embed src="./<?echo $filename;?>" quality=high loop=false
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"type="application/x-shockwave-flash"
width=600 height=300>
</embed>
Fix plz!!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23973&edit=1