504
Chapter 12: ActionScript Dictionary
MovieClip.getNextHighestDepth()
Availability
Flash Player 7.
Usage
my_mc
.getNextHighestDepth()
Parameters
None.
Returns
An integer that reflects the next available depth index that would render above all other objects on
the same level and layer within
my_mc
.
Description
Method; lets you determine a depth value that you can pass to
MovieClip.attachMovie()
,
MovieClip.duplicateMovieClip()
, or
MovieClip.createEmptyMovieClip()
to ensure that
Flash renders the movie clip in front of all other objects on the same level and layer in the current
movie clip. The value returned is 0 or higher (that is, negative numbers are not returned).
For more information, see
“Managing movie clip depths” on page 129
.
See also
MovieClip.getDepth()
,
MovieClip.getInstanceAtDepth()
,
MovieClip.swapDepths()
MovieClip.getSWFVersion()
Availability
Flash Player 7.
Usage
my_mc
.getSWFVersion()
Parameters
None.
Returns
An integer that specifies the Flash Player version that was targeted when the SWF file loaded into
my_mc
was published.
Description
Method; returns an integer that indicates the Flash Player version for which
my_mc
was published.
If
my_mc
is a JPEG file, or if an error occurs and Flash can’t determine the SWF version of
my_mc
,
-1 is returned.
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...