Play from this fame thru to this frame

i want to play a few frames even though some of the frames have stop(); in them so how can i make it that if a button is pressed then it will play through to that frame which is intended…