Working with external files in Flash

Does anyone know how or (preferably) where to find a good tutorial on how to use “BufferedReader” and “PrintWriter” and all that good stuff that reads from and writes to specific files? Except with Flash 5 instead of Javascript?

What the hell are those?
Use PHP, it’s really simple!

They’re java commands.