Help with stopping transitions in SWF

I am using the Random SFW tutorial and I finally figured out how to add it to my main site. But what I still can’t figure out is how to run my SWF 1 time and then stop. I have tried to modify the properties in just about everything. Can someone help me identify what I am doing wrong?

Thanks!

Try with typing this actionscript in the last frame:

stop ();

Thanks for your response. I did try this, however, when I do the whole movie does not play.

Any other thoughts?