内容简介:这篇文章主要介绍了Flex读取txt文件中的内容报错原因分析及解决,需要的朋友可以参考下Flex读取txt文件中的内容
1、具体错误如下
2、错误原因
读取文件不存在
复制代码 代码如下:
var file:File = new File(File.applicationDirectory.nativePath+"/phone.txt");
3、解决办法
将文件导入进去
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:- Python 抓取网页乱码原因分析
- 生产系统 SQL 执行异常原因分析
- go http 框架性能大幅下降原因分析
- ajax获取json数据为undefined原因分析
- 使用Java sound播放音频文件出现“文件类型不支持”报错的原因分析
- RocketMQ 消息发送 system busy、broker busy 原因分析与解决方案
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Chinese Authoritarianism in the Information Age
Routledge / 2018-2-13 / GBP 115.00
This book examines information and public opinion control by the authoritarian state in response to popular access to information and upgraded political communication channels among the citizens in co......一起来看看 《Chinese Authoritarianism in the Information Age》 这本书的介绍吧!
JS 压缩/解压工具
在线压缩/解压 JS 代码
Markdown 在线编辑器
Markdown 在线编辑器