*Bounding box of a gradient masked movie clip.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • deluxmilkman
    New Member
    • Oct 2007
    • 11

    *Bounding box of a gradient masked movie clip.

    I have a movie clip with a gradient mask.
    now I would like to have the bounding box of this movie clip reduced to the visible(masked) area,
    so that I can get its x and y positions.

    is it even possible?

    Code:
    mc1.cacheAsBitmap = true;
    mc2.cacheAsBitmap = true;
    mc1.setMask("mc2");
    mc1 and mc2 are the same size and the shape of the mask is constantly changing.
Working...