Reply to Re: php4 flash Q

Your name:

Reply:


Posted by Captain Dondo on 06/12/07 00:58

V Mon, 11 Jun 2007 22:46:34 +0200, Schraalhans Keukenmeester napsal(a):

> At Mon, 11 Jun 2007 13:22:32 -0700, CptDondo let h(is|er) monkeys type:
>
>> I have the following snippet I wrote that worked fine using a home-built
>> ming library. Now it turns out it's not a part of PHP4, which is what I
>> have:
>>
>> $f = new SWFFont("/lib/flashfonts/Bitstream Vera Sans.fdb");
>> $t = new SWFText();
>> $t->setFont($f);
>> $t->moveTo(0, 0);
>> $t->setColor(0xff, 0xff, 0xff);
>> $t->setHeight($fontHeight);
>> $t->addString("");
>>
>> Could some kind person please clue me in on how to write this for PHP4?
>> I can't find any good examples or go-bys.
>
> AFAIK ming support was added in PHP4's early versions. I see no methods/
> properties in your example that aren't covered by it. Perhaps your host
> just hasn't built their PHP with ming support enabled.
>
> http://www.php.net/manual/en/ref.ming.php
>
> If that's the case I don't know how to get by this limitation other than
> switching hosts or ask your current provider to enable ming.

Yeah, the PHP docs are a bit misleading on this. With ming installed it
works fine - but the PHP.net docs show this as only available for PHP5.

Sorry for the confusion.

--Yan

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация