: (type)
239
. (dot)
Availability
Flash Player 4.
Usage
object.property_or_method
instancename.variable
instancename.childinstance.variable
Parameters
object
An instance of a class. The object can be an instance of any of the built-in ActionScript
classes or a custom class. This parameter is always to the left of the dot (.) operator.
property_or_method
The name of a property or method associated with an object. All of the
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
The instance name of a movie clip.
childinstance
A movie clip instance that is a child of, or nested in, another movie clip.
variable
A variable on the Timeline of the movie clip instance name to the left of the dot
(
.
) 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
hairColor
in the movie clip
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
]) { ... }
Summary of Contents for FLASH MX 2004 - ACTIONSCRIPT
Page 1: ...ActionScript Reference Guide...
Page 8: ...8 Contents...
Page 12: ......
Page 24: ...24 Chapter 1 What s New in Flash MX 2004 ActionScript...
Page 54: ...54 Chapter 2 ActionScript Basics...
Page 80: ...80 Chapter 3 Writing and Debugging Scripts...
Page 82: ......
Page 110: ...110 Chapter 5 Creating Interaction with ActionScript...
Page 112: ......
Page 120: ...120 Chapter 6 Using the Built In Classes...
Page 176: ......
Page 192: ...192 Chapter 10 Working with External Data...
Page 202: ...202 Chapter 11 Working with External Media...
Page 204: ......
Page 782: ...782 Chapter 12 ActionScript Dictionary...
Page 793: ...Other keys 793 221 222 Key Key code...
Page 794: ...794 Appendix C Keyboard Keys and Key Code Values...
Page 798: ...798 Appendix D Writing Scripts for Earlier Versions of Flash Player...
Page 806: ...806 Appendix E Object Oriented Programming with ActionScript 1...
Page 816: ...816 Index...