logo       

ming simply doesnt work...: msg#00036

web.ming.general

Subject: ming simply doesnt work...

hi everyone!

as subject says, ming doesnt work on my server. i have tried compiling it a
loooot of times and on few web server (and linux distros, too) - nothing helped.

last time i have tried to make it work was few days ago. i was recompiling php
4.3.4 under gentoo linux. compilation went just fine, ming compiled with few
warnings...
when i execute this script (can be found under swftext function examples):

<?php
$f = new SWFFont("_serif");
$t = new SWFText();
$t->setFont($f);
$t->moveTo(200, 2400);
$t->setColor(0xff, 0xff, 0);
$t->setHeight(1200);
$t->addString("PHP generates Flash with Ming!!");

$m = new SWFMovie();
$m->setDimension(5400, 3600);

$m->add($t);

header('Content-type: application/x-shockwave-flash');
$m->output();
?>

all i get is

FWS}?ÒðÊ Cÿÿÿ _serif?¨ÓÀ? ?ÿÿÿ ?»À]PHP generates Flash with
Ming!!?@

(i noticed that size of this junk depends of script itself)
when i execute "php <script_above.php>" from my shell, i get following error:

Fatal error: Cannot instantiate non-existent class: swffont in
/....../index.php on line 2

i have tried getting ming through CVS, but compilation fails.
any clues?!

btw, i was messing with cvs ming, and somewhere i have seen that there are some
functions that should enable action sounds (eg. button clicks hovers etc. with
custom sound) -- is that true?

pls help!!


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise