MovieClip.getDepth()
Availability
Flash Player 6.
Usage
my_mc.getDepth()
Parameters
None.
Returns
An integer.
Description
Method; returns the depth of a movie clip instance. For more information, see
clip depths" on page
See also
MovieClip.getInstanceAtDepth()
MovieClip.swapDepths()
MovieClip.getInstanceAtDepth()
Availability
Flash Player 7.
Usage
my_mc.getInstanceAtDepth(depth)
Parameters
An integer that specifies the depth level to query.
depth
Returns
A string representing the name of the movie clip located at the specified depth, or
there is no movie clip at that depth.
Description
Method; lets you determine if a particular depth is already occupied by a movie clip. You can use
this method before using
MovieClip.createEmptyMovieClip()
any of these methods already contains a movie clip. For more information, see
clip depths" on page
See also
MovieClip.getDepth()
129.
,
MovieClip.getNextHighestDepth()
MovieClip.attachMovie()
to determine if the depth parameter you want to pass to
129.
,
MovieClip.getNextHighestDepth()
,
MovieClip.duplicateMovieClip()
,
MovieClip.swapDepths()
MovieClip.getInstanceAtDepth()
"Managing movie
,
if
undefined
, or
"Managing movie
503
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?