Flex读取txt文件中的内容报错原因分析及解决

栏目: 编程语言 · 发布时间: 8年前

内容简介:这篇文章主要介绍了Flex读取txt文件中的内容报错原因分析及解决,需要的朋友可以参考下
Flex读取txt文件中的内容

1、具体错误如下
Flex读取txt文件中的内容报错原因分析及解决 
2、错误原因

读取文件不存在
复制代码 代码如下:

var file:File = new File(File.applicationDirectory.nativePath+"/phone.txt");

3、解决办法

将文件导入进去

以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Chinese Authoritarianism in the Information Age

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 压缩/解压工具

在线压缩/解压 JS 代码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器