8 Replies Latest reply on Oct 26, 2007 7:40 AM by kglad

    Finding the bounds of a movieclip

      Version: Flash CS3, AS3

      Is there a way to find the bounds (width&height) of a single-frame movieclip in a way that disregards surrounding whitespace?

      ie. if a movieclip contains only a 10x10 square at point 5,5 (within the movieclip), width&height is normally returned as 15x15. I want a way to have 10x10 returned.

      Flash seems to know of such bounds - the graphic displayed in the library sidebar is set to this size. So are they accessible via AS3?