adobe flash cs4 as3:获取正在运行的项目的当前目录?

发布于 2024-08-19 11:03:09 字数 89 浏览 4 评论 0原文

有没有办法获取项目的当前目录?我正在尝试使用动态路径加载图像,但链接似乎已损坏。但看到正在运行的项目的当前目录,我将能够确保我的图片链接有效。

谢谢

is there a way to get the current directory of the project? i'm trying to load images using dynamic paths and it seems that the link is broken. but seeing the current directory of the running project i'll be able to make sure that my picture links are valid.

thanks

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

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

发布评论

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

评论(1

终遇你 2024-08-26 11:03:09

您可以使用 AIR,也可以使用互联网上的服务器端脚本。
闪存中设置了安全措施,以防止任何人通过闪存对您的计算机造成损坏,因此您可能无法做到这一点。但是,如果您在访问内容时遇到问题,也可能是由于访问权限造成的,您可以访问本地或网络资源,我认为它默认为网络。

Either using AIR on your end, or a server-side script on the internets.
There are security measures put in flash to prevent anyone from doing damage to your computer from flash, so you may not be able to do that. But if you're having issues accessing stuff it may also be due to access permissions, you can access either local or network resources and I think it defaults to network.

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