[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/doc/C/actionscript as_value.xml
From: |
Ann Barcomb |
Subject: |
[Gnash-commit] gnash/doc/C/actionscript as_value.xml |
Date: |
Mon, 19 Mar 2007 16:21:41 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Ann Barcomb <ann> 07/03/19 16:21:41
Modified files:
doc/C/actionscript: as_value.xml
Log message:
Sandro clarified that the methods acting on the MOVIECLIP type are
called set_sprite(), is_sprite() and to_sprite().
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/doc/C/actionscript/as_value.xml?cvsroot=gnash&r1=1.1&r2=1.2
Patches:
Index: as_value.xml
===================================================================
RCS file: /sources/gnash/gnash/doc/C/actionscript/as_value.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- as_value.xml 19 Mar 2007 14:50:33 -0000 1.1
+++ as_value.xml 19 Mar 2007 16:21:41 -0000 1.2
@@ -13,7 +13,7 @@
<emphasis>BOOLEAN</emphasis>, <emphasis>STRING</emphasis>,
<emphasis>NUMBER</emphasis>, <emphasis>OBJECT</emphasis>,
<emphasis>AS_FUNCTION</emphasis>, and
- <emphasis>MOVIECLIP</emphasis>.
+ <emphasis>MOVIECLIP</emphasis> (sprite).
The type <emphasis>C_FUNCTION</emphasis> is being deprecated.
</para>
</sect2>
@@ -25,7 +25,10 @@
<emphasis>as_value</emphasis> is of a specific type. These
follow the form of <emphasis>is_TYPE</emphasis>, for example
<emphasis>is_as_function()</emphasis> and
- <emphasis>is_number()</emphasis>.
+ <emphasis>is_number()</emphasis>. In general, the type names
+ match the <link linkend="data_types">data types</link> listed
+ above, with the exception of the type <emphasis>MOVIECLIP</emphasis>
+ which has a method <emphasis>is_sprite()</emphasis>.
</para>
</sect2>
@@ -36,7 +39,10 @@
the value as a particular type. They follow the
<emphasis>to_TYPE</emphasis> naming convention. Examples
are <emphasis>to_number()</emphasis> and
- <emphasis>to_bool()</emphasis>.
+ <emphasis>to_bool()</emphasis>. The type names are as
+ <link linkend="data_types">listed</link> earlier, except for
+ <emphasis>MOVIECLIP</emphasis>, which uses
+ <emphasis>to_sprite()</emphasis>.
</para>
</sect2>
@@ -47,7 +53,10 @@
of methods. They change the type to the type specified in
the method name, and set the value to the one given as an
argument. It is also possible to accomplish the same thing
- with the <emphasis>=</emphasis> operator.
+ with the <emphasis>=</emphasis> operator. Again, type names
+ match those <link linkend="data_types">named earlier</link>,
+ except in the case of <emphasis>MOVIECLASS</emphasis>. Its
+ method is called <emphasis>set_sprite()</emphasis>.
</para>
</sect2>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash/doc/C/actionscript as_value.xml,
Ann Barcomb <=