Внимание |
щРН ПЮЯЬХПЕМХЕ ЪБКЪЕРЯЪ щйяоепхлемрюкэмшл. оНБЕДЕМХЕ ЩРНЦН ПЮЯЬХПЕМХЪ, БЙКЧВЮЪ ХЛЕМЮ ЕЦН ТСМЙЖХИ Х НРМНЯЪЫСЧЯЪ Й МЕЛС ДНЙСЛЕМРЮЖХЧ, ЛНФЕР ХГЛЕМХРЭЯЪ Б ОНЯКЕДСЧЫХУ БЕПЯХЪУ PHP АЕГ СБЕДНЛКЕМХЪ. хЯОНКЭГСИРЕ ЩРН ПЮЯЬХПЕМХЕ МЮ ЯБНИ ЯРПЮУ Х ПХЯЙ. |
First of all: Ming is not an acronym. Ming is an open-source (LGPL) library which allows you to create SWF ("Flash") format movies. Ming supports almost all of Flash 4's features, including: shapes, gradients, bitmaps (pngs and jpegs), morphs ("shape tweens"), text, buttons, actions, sprites ("movie clips"), streaming mp3, and color transforms --the only thing that's missing is sound events.
Note that all values specifying length, distance, size, etc. are in "twips", twenty units per pixel. That's pretty much arbitrary, though, since the player scales the movie to whatever pixel size is specified in the embed/object tag, or the entire frame if not embedded.
Ming offers a number of advantages over the existing PHP/libswf module. You can use Ming anywhere you can compile the code, whereas libswf is closed-source and only available for a few platforms, Windows not one of them. Ming provides some insulation from the mundane details of the SWF file format, wrapping the movie elements in PHP objects. Also, Ming is still being maintained; if there's a feature that you want to see, just let us know ming@opaque.net.
Ming was added in PHP 4.0.5.
To use Ming with PHP, you first need to build and install the Ming library. Source code and installation instructions are available at the Ming home page: http://ming.sourceforge.net/ along with examples, a small tutorial, and the latest news.
Download the ming archive. Unpack the archive. Go in the Ming directory. make. make install.
This will build libming.so and install it into /usr/lib/, and copy ming.h into /usr/include/. Edit the PREFIX= line in the Makefile to change the installation directory.
Now either just add extension=php_ming.so to your php.ini file, or put dl('php_ming.so'); at the head of all of your Ming scripts.
дЮММНЕ ПЮЯЬХПЕМХЕ МЕ НОПЕДЕКЪЕР МХЙЮЙХЕ ДХПЕЙРХБШ ЙНМТХЦСПЮЖХХ Б php.ini.
оЕПЕВХЯКЕММШЕ МХФЕ ЙНМЯРЮМРШ НОПЕДЕКЕМШ ДЮММШЛ ПЮЯЬХПЕМХЕЛ Х ЛНЦСР АШРЭ ДНЯРСОМШ РНКЭЙН Б РНЛ ЯКСВЮЕ, ЕЯКХ PHP АШК ЯНАПЮМ Я ОНДДЕПФЙНИ ЩРНЦН ПЮЯЬХПЕМХЪ ХКХ ФЕ Б РНЛ ЯКСВЮЕ, ЕЯКХ ДЮММНЕ ПЮЯЬХПЕМХЕ ОНДЦПСФЮЕРЯЪ БН БПЕЛЪ БШОНКМЕМХЪ.
оЕПЕВХЯКЕММШЕ МХФЕ ЙКЮЯЯШ НОПЕДЕКЪЧРЯЪ ДЮММШЛ ПЮЯЬХПЕМХЕЛ Х ДНЯРСОМШ РНКЭЙН ЙНЦДЮ PHP АШК ЯНАПЮМ Я ЩРХЛ ПЮЯЬХПЕМХЕЛ ХКХ ЩРН ПЮЯЬХПЕМХЕ АШКН ДХМЮЛХВЕЯЙХ ГЮЦПСФЕМН БН БПЕЛЪ БШОНКМЕМХЪ ЯЙПХОРЮ.
Ming introduces 13 new objects in PHP, all with matching methods and attributes. To use them, you need to know about objects.
Пред. | Начало | След. |
mssql_select_db | Уровень выше | ming_setcubicthreshold |
HIVE: All information for read only. Please respect copyright! |