php-doc-en/reference/ming/reference.xml
2005-09-05 15:39:41 +00:00

106 lines
3.3 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.8 $ -->
<!-- Purpose: utilspec.nontext -->
<!-- Membership: bundled, external -->
<reference id="ref.ming">
<title>Ming functions for Flash</title>
<titleabbrev>Ming (flash)</titleabbrev>
<partintro>
&warn.experimental;
<section id="ming.intro">
&reftitle.intro;
<para>
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.
</para>
<para>
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.
</para>
<para>
Ming offers a number of advantages over the existing
<link linkend="ref.swf">PHP/libswf module</link>.
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 <ulink url="mailto:&email.ming;">&email.ming;</ulink>.
</para>
<para>
Ming was added in PHP 4.0.5.
</para>
</section>
<section id="ming.requirements">
&reftitle.required;
<para>
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: <ulink url="&url.ming;">&url.ming;</ulink>
along with examples, a small tutorial, and the latest news.
</para>
<para>
Download the ming archive. Unpack the archive. Go in the
Ming directory. make. make install.
</para>
<para>
This will build <filename>libming.so</filename> and install it
into <filename>/usr/lib/</filename>, and copy
<filename>ming.h</filename> into <filename>/usr/include/</filename>.
Edit the <literal>PREFIX=</literal> line in the
<filename>Makefile</filename> to change the installation directory.
</para>
</section>
&reference.ming.configure;
<section id="ming.configuration">
&reftitle.runtime;
&no.config;
</section>
<section id="ming.resources">
&reftitle.resources;
<para>
</para>
</section>
&reference.ming.constants;
&reference.ming.classes;
</partintro>
&reference.ming.functions;
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->