I think you're right, the problem is about play() in the play button and the gotoAndStop() in the enterframe. How could this be solved? Maybe you could help me with the code:
// Play-button
btn_play.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);
function fl_MouseClickHandler(event:MouseEvent):void
{
MovieClip(root).3D_action.play();
}
// Slider
sliderKnob.addEventListener(MouseEvent.MOUSE_DOWN, startDragging);
function startDragging(event:MouseEvent):void{
sliderKnob.startDrag(false, boundsRect);
}
sliderKnob.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
sliderKnob.addEventListener(MouseEvent.MOUSE_OUT, stopDragging);
function stopDragging(event:MouseEvent):void{
sliderKnob.stopDrag();
}
// Animation-control
sliderKnob.addEventListener(Event.ENTER_FRAME, onEnterFrameDown);
function onEnterFrameDown(event:Event):void {
scrubMovie();
}
function scrubMovie():void {
frame = Math.round(sliderKnob.x * frameFactor);
MovieClip(root).3D_action.gotoAndStop(frame);
}