Getrect (Movieclip.getrect Method) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

mc.label.text = mc.getDepth();
}
See also
getDepth (MovieClip.getDepth method)
(MovieClip.getInstanceAtDepth method)
,
method)
attachMovie (MovieClip.attachMovie method)
(MovieClip.duplicateMovieClip method)
(MovieClip.createEmptyMovieClip method)

getRect (MovieClip.getRect method)

public getRect(bounds:Object) : Object
Returns properties that are the minimum and maximum x and y coordinate values of the
movie clip, based on the
returns are the same or smaller than those returned by
getRect()
Use
MovieClip.localToGlobal()
movie clip's local coordinates to Stage coordinates, or Stage coordinates to local
coordinates, respectively.
You can extend the methods and event handlers of the MovieClip class by creating a subclass.
Availability: ActionScript 1.0; Flash Player 8
Parameters
- The target path of the timeline whose coordinate system you want to use as
bounds:Object
a reference point.
Returns
- An object with the properties
Object
868
ActionScript classes
,
parameter, excluding any strokes on shapes. The values that
bounds
and
MovieClip.globalToLocal()
,
xMin
getInstanceAtDepth
,
swapDepths (MovieClip.swapDepths
,
duplicateMovieClip
,
createEmptyMovieClip
MovieClip.getBounds()
,
, and
xMax
yMin
yMax.
methods to convert the
.

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF