added totalFrames property to MovieClip

added totalFrames property to MovieClip and used it in gotoAndStop and updateTransform