How to generate the JS script folder

Hi guys,

Does anyone know how to generate the script folder to make a swf viewable on the browser? Once I did it just with publish settings, and chossing html file as well as swf. But now, it doesn`t work!!!

Please help!!!