AS 3.0 : play only once?

How do you script a .swf so that it will not loop after it’s loaded? I’ve done it in dreamweaver manually, but for some reason can’t figure out how to script it.