return
605
removeMovieClip()
Availability
Flash Player 4.
Usage
removeMovieClip(
target
)
Parameters
target
The target path of a movie clip instance created with
duplicateMovieClip()
, or the
instance name of a movie clip created with
MovieClip.attachMovie()
or
MovieClip.duplicateMovieClip()
.
Returns
None.
Description
Function; deletes the specified movie clip.
See also
duplicateMovieClip()
,
MovieClip.duplicateMovieClip()
,
MovieClip.attachMovie()
,
MovieClip.removeMovieClip()
return
Availability
Flash Player 5.
Usage
return[
expression
]
Parameters
expression
A string, number, array, or object to evaluate and return as a value of the function.
This parameter is optional.
Returns
The evaluated
expression
parameter, if provided.
Description
Statement; specifies the value returned by a function. The
return
action evaluates
expression
and returns the result as a value of the function in which it executes. The
return
action causes the
function to stop running and replaces the function with the returned value. If the
return
statement is used alone, it returns
null.
You can’t return multiple values. If you try to do so, only the last value is returned. In the
following example,
c
is returned:
return a, b, c ;
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...