A-OK
A-OK

Reputation: 3254

Actionscript 3 - find the coordinate of an edge of a movie clip

How do I find say the left edge of a movie clip?

Upvotes: 0

Views: 2043

Answers (2)

Julio Santos
Julio Santos

Reputation: 3895

That depends on the movie clip position registration, which i believe defaults to its top left corner. All you have to do is get its x and y and then fiddle with adding its width and/or height to figure out what you need.

Upvotes: 0

Related Questions