Detect width of tweened shape

hi,

I’m having this problem and hope someone maybe can help:

On stage there is a movieclip containing an isometric drawing of a house. The house is supposed to rotate a little when the user moves her mouse over the dor. I’ve made a shape tween to do the “rotating” (it’s horisontal). My problem is that a button (the dor) can not be tweened and that the width of the dor depends on the angle from which you are seeing the house… So I thought that with actionscript I could detect the width of the shape (house) and on every new frame (onEnterFrame) define the width of the dor corresponding to to the house.

By putting some actionscript directly on the layer containing the shape I can detect the width only on keyframes (the first frame + the last frame): trace(“this._width”)

How do I make it work on every frame? also not just keyframes?

If my question is not clear I will be happy to explain further.