added totalFrames property to MovieClip

and used it in gotoAndStop and updateTransform