actionscript中读取本地文件操作有两种代码如下1.使用File和FileStream两个类,FileStream负责读取数据的所以操作:(同步操作)var stream:FileStream = new FileStream();var file:File = new File('E:/test.txt');//绑定一个文件stream.open(file,FileMode.READ);//读取文件trace(stream.readMultiByte(stream.bytesAvailable,'utf-8'));stream.close();稍微需要 Read More