Introducere

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/.

Avertizare

Această extensie este EXPERIMENTALĂ. Comportamentul acestei extensii ߞ - inclusiv denumirile funcțiilor sale și orice alte aspecte documentate în privința acestei extensii ߞ - pot să fie modificate fără preaviz într-o versiune viitoare a PHP. Utilizați această extensie la propriul risc.

Notă:

Această extensie a fost transferată în repozitoriul » PECL și nu mai este furnizată împreună cu PHP începând cu versiunea 5.3.0.