Randomizing dynamically loaded text files (on reload)?

Hello. I am interested in designing a web-site with the primary purpose of displaying various poems and songs I’ve written over the years. The premise is simple: I need some actionscript which will detect the number and names of text files in a certain directory, and randomly pick one of them, then load it into a text field and format it with CSS. The user should simply have to reload their browser to get another randomly loaded poem. Can someone help me with that part? I’ve only taken one Flash class (very light on AS) and not at all knowledgeable on making ‘universal AS’ and usually hard-code everything. My apologies if something similar has been asked before… Just point me to a thread and I’ll go!


[COLOR=DarkRed]The Red Fall[/COLOR].