If the sound is an
event sound, it will play to it's end no matter how many frames you set it on. I would recommend setting your sound to
stream, with which you can then determine the duration of the sound in terms of frames. Lay the sound on the first frame of it's own layer, and press F5 until the modulation becomes a straight line, indicating the end of the sound.
As for stopping the animation, if your talking of the main movie, you can stop it, but if the sound is not in it's own movie clip, stopping the main movie will also stop the sound.
So your sound should thus be in a movie clip, which will play regardless of the main movie, but can also control it.
Create a new movie clip, insert your sound on a layer, and add an actions layer. On the first keyframe of your actions layer set the following:
_root.stop();
On the ending keyframe, add this:
_root.play();
Thus, the main movie will play till it reaches the frame where lies the sound movie clip. The sound will start playing and at the same time will stop the main movie. When the sound is finished playing, it will then tell the main movie to start playing again.
Regards,