MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 239

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

Advertisement

. (dot)
Availability
Flash Player 4.
Usage
object.property_or_method
instancename.variable
instancename.childinstance.variable
Parameters
An instance of a class. The object can be an instance of any of the built-in ActionScript
object
classes or a custom class. This parameter is always to the left of the dot (.) operator.
property_or_method
valid method and properties for the built-in classes are listed in the method and property
summary tables for that class. This parameter is always to the right of the dot (.) operator.
instancename
childinstance
A variable on the Timeline of the movie clip instance name to the left of the dot
variable
(
) operator.
.
Returns
Nothing.
Description
Operator; used to navigate movie clip hierarchies in order to access nested (child) movie clips,
variables, or properties. The dot operator is also used to test or set the properties of an object,
execute a method of an object, or create a data structure.
Example
The following statement identifies the current value of the variable
.
person_mc
person_mc.hairColor
This is equivalent to the following Flash 4 syntax:
/person_mc:hairColor
: (type)
Availability
Flash Player 6.
Usage
[modifiers] [var] variableName:[type]
function functionName():[type] { ... }
function functionName(parameter1[:type], ... , parameterN[:type]) { ... }
The name of a property or method associated with an object. All of the
The instance name of a movie clip.
A movie clip instance that is a child of, or nested in, another movie clip.
in the movie clip
hairColor
: (type)
239

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?

Table of Contents