Flex apps, which run in the Flash Player hosted by a browser,
cannot read or write local files. You might look into AIR (Adobe
Integrated Runtime) which can also run Flex apps, but apps written
for AIR can read and write local files.
You can find AIR in the Flex 3 Beta on Adobe Labs at