JPG, SWF, and HTML files all have the same name for each game. The JPG is meant to be a thumbnail… HTML file just has an embed for the flash inside it. Internet is awful for communicating, lol. I want the JPG for the correct game to show and be LINKED to the html file that has the same game…then when you click the image, it loads the html file, you see the flash game. BELOW that jpg, I want a link to the html file with the name of the game PROPERLY typed out… right now, it does “game1.html”… I want Game 1 to show, while still being able to just pull things from a directory. I tried renaming my files “Game 1.html” but the internet told me using spaces in file names is improper, and if I did that, I’d want to do it for my images and swfs as well so everything is the same, and that would look bad…
I want each page to have 25 games, 5x5, and right now I only have maybe 1 page worth, but every day, I am adding more games to my directory. Thus the want for automatic new pages to be created. You know, like sites that have like pageid?=2 or whatever it will say? 
I am local ATM but I have provided an HTML file in txt form that is an example.
I do not want the image within the html file, but instead to serve as a thumbnail to view what the game is, sort of, before you go onto the page…and of course to act as a link above the text link, because usually thumbnails for things like that are clickable. I again, am sorry, if my replies are mixed up. I just have trouble organizing things. For me, code helps the most. I don’t know all the aspects of these languages yet so if I can see code and mess with it as I need, that helps me the most.
cavestory.txt (498 Bytes)