adobe air swf 文件在浏览器中出现错误

发布于 2024-08-04 06:23:05 字数 240 浏览 1 评论 0原文

我的fla文件设置

版本:adobe air 1.0 actionscript 3.0

我能够毫无问题地编译,当我在浏览器中加载 swf 文件时,如果我的 actionscript 包含此行“import flash.filesystem.File”。我的闪光灯只显示“空白”。 flashlog 中没有错误。如果我删除这一行,我的 swf 文件就可以运行。怎么了?

my fla file setting

version: adobe air 1.0
actionscript 3.0

i able to compile without problem and when i load the swf file in browser, if my actionscript included this line "import flash.filesystem.File". My flash just show up "blank" . no error in flashlog. if i removed this line, my swf file able to run. what is wrong?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

不语却知心 2024-08-11 06:23:05

仅当将 fla 编译为 AIR 文件时,flash.filesystem.File 包才可用。您无法在浏览器应用程序中读取和写入文件。

The flash.filesystem.File package is only available if you compile the fla to an AIR-file. You can not read and write files in browser applications.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文