(PHP 4 >= 4.0.0)
The swf_actionGotoFrame() function will go to the frame specified by framenumber, play it, and then stop.