gotoAndStop stops children (gotoAndPlay also)

Please, check the demo i’ve attached to that post

Hi there, i’ve just discovered that when you call gotoAndStop on a MovieClip, all the movieClip children of that MovieClip are stopped for one frame.

That is a problem for me because i’m doing a gotoAndStop in a EnterFrame event to control the speed o the animation. So the parent movieClip plays but all his children are stopped !!!.

You can reproduce the bug by doing this which is the same as a play() :


addEventListener(Event.ENTER_FRAME, Update) ;
function Update(evt:Event):void {
 _mc.gotoAndStop((mc.currentFrame%mc.totalFrames) +1);
}

Is there a super duper way to bypass that ? Does anyone know what’s happening in the internal gotoAndStop of MovieClip ?

Thanks !

Lachhh