Respond if foobar.txt exists or not

Hello,

I’m interested in creating a full flash website. For my “news” page, I’d like it to be easily editable. So I intend to have the news correspond to a news.txt file, which Flash will detect (I’ve read the tutorial on how to do that).

However, I’d like for each news article to be in its own seperate table. So it will look like this:

NEWS:
News1

News2

Etc

In order to have different boxes for each news article, the number of existing boxes must be linked directly to the number of news.txt (news1.txt, news2.txt, etc).

Anyone know how I can do this, or if it is even possible?

Thanks

ok u could do this if ur host supports asp
u could use a script to see if a file exist in ur directory
[color=#ff0000]<%
Set fs=Server.CreateObject(“Scripting.FileSystemObject”)

If (fs.FileExists(“url”))=true Then
dowhatever[/color]
[color=#ff0000]End If

set fs=nothing
%>[/color]
[color=#ff0000][/color]
[color=#ff0000]just something like that and post it to ur swf make a array or increment to figure out the textfiles number[/color]