Added some links.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@44569 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Damien Seguy 2001-03-29 10:39:16 +00:00
parent bc0a028f23
commit b543acbfdb

View file

@ -3,19 +3,6 @@
<titleabbrev>Ming (flash)</titleabbrev>
<partintro>
<simpara>
This documentation ist not finished yet. Don't start to translate it
or use it as a programming reference (dams@php.net).
</simpara>
<!--
DO NOT START TRANSLATING YET!
THIS DOCUMENTATION IS UNDER TEST
There are still a LOT of typos eradicating, and examples
adding.
-->
<simpara>
These functions are not yet available if PHP.
</simpara>
<sect1 id="ming.intro">
<title>Introduction</title>
<simpara>
@ -61,9 +48,11 @@
Ming directory. make. make install.
</para>
<para>
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.
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>
<sect2 id="ming.install.php.unix">
<title>built into php (unix)</title>
@ -73,23 +62,23 @@
cp php_ext/* &lt;phpdir>/ext/ming
cd &lt;phpdir>
./buildconf
./configure --with-ming &lt;other config options>
build and install php as usual,
restart web server if necessary
./configure --with-ming &lt;other config options&gt;
</literallayout>
Build and install php as usual,
Restart web server if necessary
</para>
</sect2>
<sect2 id="ming.install.php_module.unix">
<title>built into php (unix)</title>
<para>
<literallayout>
download php_ming.so.gz
uncompress it and copy it to your php modules directory.
(you can find your php module directory by running php-config --extension-dir).
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.
</literallayout>
download <filename>php_ming.so.gz</filename>.
uncompress it and copy it to your php modules directory.
(you can find your php module directory by running
<command>php-config --extension-dir</command>).
Now either just add <literal>extension=php_ming.so</literal>
to your <filename>php.ini</filename> file, or put
<literal>dl('php_ming.so');</literal> at the head of all of your
Ming scripts.
</para>
</sect2>
</sect1>
@ -285,9 +274,9 @@ header('Content-type: application/x-shockwave-flash');
</para>
<para>
For displayable types (shape, text, button, sprite), this returns an
SWFDisplayItem, a handle to the object in a display list. Thus, you can
add the same shape to a movie multiple times and get separate handles
back for each separate instance.
<function>SWFDisplayItem</function>, a handle to the object in a display
list. Thus, you can add the same shape to a movie multiple
times and get separate handles back for each separate instance.
</para>
<simpara>
See also all other objects (adding this later), and
@ -344,7 +333,8 @@ header('Content-type: application/x-shockwave-flash');
<function>swfmovie->setbackground</function> sets the background color. Why is
there no rgba version? Think about it. (Actually, that's not such a dumb
question after all- you might want to let the html background show through.
There's a way to do that, but it only works on IE4. Search the MM site for
There's a way to do that, but it only works on IE4. Search the
<ulink url="&url.macromedia;">&url.macromedia;</ulink> site for
details.)
</para>
</refsect1>
@ -452,7 +442,7 @@ header('Content-type: application/x-shockwave-flash');
<function>swfmovie->streammp3</function> streams the mp3 file
<parameter>mp3FileName</parameter>. Not very robust in dealing with
oddities (can skip over an initial ID3 tag, but that's about it).
Like SWFShape::addJpegFill, this isn't a stable function- we'll
Like <function>SWFShape->addJpegFill</function>, this isn't a stable function- we'll
probably need to make a separate SWFSound object to contain sound types.
</para>
<para>