EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 587

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
_parent 587
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
character
The character to convert to an ASCII code number.
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. Use _parent to specify a relative path to movie clips or objects that are above
the current movie clip or object.
Example
In the following example, the movie clip desk is a child of the movie clip classroom. When the
following script executes inside the movie clip
desk, the playhead will jump to Frame 10 in the
Timeline of the movie clip
classroom.
_parent.gotoAndStop(10);
See also
_root
, targetPath

Table of Contents

Related product manuals