Avoid masked 'content's original size in total _width

Following example;
An MC1

  • containing e.g. a square of 100x100 px at x-y 0-0
  • containing a MC2 at x-y 0-0

MC2 contains a square of 200x200 px, masked with a 50x50 px square at x-y 0-0

When I retrieve the _width of MC1 with actionscript, it should return 100 (the masked MC2 is only 50 px width/visible so largest content is the 100x100 square).

However, it returns 200, the original size of the square in MC2 which is masked.

Both script masking and layer-masking have this phenomena.

Anybody knows a way to fix this “bug”?
P