I am trying to display a slide show on a single frame using a Java Script. I try pasting the code into Actions and Souns overview, but when I launch the page it says it can't fine the java file. I then tried putting the name of the file where I have the code, but this is a text file. Then when I load the page it opens the text file and diaplays the code.

How do I get this to work to display the images in the frame?