Accessing SQL Server from Flash

Can anyone point me to any simple tutorials on how to access SQL Server data from my flash project?? or even how to access a list of files from a server location?

thanks

lloyd