0
votes

I have a Movieclip (in Actionscript 3.0) which contains some graphics, which are drawn at runtime using the mc.graphics.lineTo(); Right now I want to draw a Rectale around the drawn graphics which represent the borders of the object. Well the mc.x / mc.y is not the same as the left-top-edge of the drawn graphics, so for me the getBorders(mc); function doesnt work.

The Problem which I have is that the Rectale somehow doesnt spawn in the right location, its always off!

1

1 Answers