Mat
Mat

Reputation: 567

ActionScript 3.0 get BoundingBox of MovieClip

How do I get the BoundingBox of a MovieClip? if the contents of the movieclip have they're lowest coordinate at the movieclips origin then it's easy (just take width and height of the movieclip and add them to the coordinates of the mc). but how to do it for an arbitrary movieclip?

Upvotes: 1

Views: 746

Answers (1)

See the ActionScript reference for getBounds() or getRect().

Upvotes: 1

Related Questions