略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: 简介

2024-12-20

简介

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

Warning

此扩展是实验性 的。 此扩展的表象,包括其函数名称以及其他此扩展的相关文档都可能在未来的 PHP 发布版本中未通知就被修改。使用本扩展风险自担 。

Note:

此扩展已被移至 » PECL 资源库且不再与 PHP 捆绑。5.3.0.

add a note add a note

User Contributed Notes 1 note

up
14
petruzanautico at yahoo dot com dot ar
8 years ago
Just found out why this is called Ming and LOL'ed.
Ming is Flash Gordon's enemy. :D

官方地址:https://www.php.net/manual/en/intro.ming.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3