metti questa action su un clip qualsiasi:

onclipevent(enterframe){
if(_root._currentframe>=20 and _root._currentframe<=30){
_root.gotoAndPlay(50);
}
if(_root._currentframe==55){
_root.stop();
}
}