Hey, here's a problem I've never seen before...

I have a movieclip that is under a mask. The mask itself is a movieclip and is intended to change size (via actionscript) to hide/show the underlying MC.

This is the exact code I am using on the mask:

code:

onClipEvent (load) {
_root.targetH = 23;
}

onClipEvent (enterFrame) {
this._height = this._height+((_root.targetH-this._height)*.3);
}




Now, there are only two height levels, 23 and 450. When the code is used to resize the mask to 23, everything is fine... but as soon as targetH is set to 450, my CPU usage jumps from 7% to 100%.


If anybody could help I would greatly appreciate it...



Thanks!