Reply to Re: php4 flash Q

Your name:

Reply:


Posted by Schraalhans Keukenmeester on 06/11/07 20:46

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.
>
> Thanks,
>
> --Yan

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.

HTH

--
Schraalhans Keukenmeester - schraalhans@the.Spamtrapexample.nl
[Remove the lowercase part of Spamtrap to send me a message]

"strcmp('apples','oranges') < 0"

[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

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