Введение
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 at » http://www.libming.org/.
Ming was added in PHP 4.0.5.
Это расширение является ЭКСПЕРИМЕНТАЛЬНЫМ. Поведение этого расширения, включая имена его функций и любую другую относящуюся к нему документацию, может измениться в последующих версиях PHP без уведомления. Используйте это расширение на свой страх и риск.
Замечание:
Это расширение было перемещено в репозиторий » PECL и больше не поставляется с PHP 5.3.0.
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Генерация нетекстовых MIME форматов
- Введение
- Установка и настройка
- Предопределенные константы
- Примеры
- Ming Функции
- The SWFAction class
- The SWFBitmap class
- The SWFButton class
- The SWFDisplayItem class
- The SWFFill class
- The SWFFont class
- The SWFFontChar class
- The SWFGradient class
- The SWFMorph class
- The SWFMovie class
- The SWFPrebuiltClip class
- The SWFShape class
- The SWFSound class
- The SWFSoundInstance class
- The SWFSprite class
- The SWFText class
- The SWFTextField class
- The SWFVideoStream class
Коментарии
Just found out why this is called Ming and LOL'ed.
Ming is Flash Gordon's enemy. :D