MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 587

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

ord
Availability
Flash Player 4. This function has been deprecated in favor of the methods and properties of the
String class.
Usage
ord(character)
Parameters
The character to convert to an ASCII code number.
character
Returns
Nothing.
Description
String function; converts characters to ASCII code numbers.
See also
String class
_parent
Availability
Flash Player 5.
Usage
_parent.property
_parent._parent.property
Description
Identifier; specifies or returns a reference to the movie clip or object that contains the current
movie clip or object. The current object is the object containing the ActionScript code that
references
_parent
the current movie clip or object.
Example
In the following example, the movie clip
following script executes inside the movie clip
Timeline of the movie clip
_parent.gotoAndStop(10);
See also
,
_root
targetPath
. Use
to specify a relative path to movie clips or objects that are above
_parent
.
classroom
is a child of the movie clip
desk
, the playhead will jump to Frame 10 in the
desk
. When the
classroom
_parent
587

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents