var file:File = new File("C://abc.txt")
var fs:FileStream = new FileStream()
fs.open(file,FileMode.WRITE)
fs.position = 0
fs.writeUTFBytes("http://https://https://amyflash.com")
fs.close()
这样就会在C盘生成一个内容为"http://https://https://amyflash.com"的abc.txt文件..