Flash5 soundObject

With Flash5, is there any way to use gotoAndPlay() after determining that a soundObject has stopped playing?