adobe flash cs4 as3:获取正在运行的项目的当前目录?
有没有办法获取项目的当前目录?我正在尝试使用动态路径加载图像,但链接似乎已损坏。但看到正在运行的项目的当前目录,我将能够确保我的图片链接有效。
谢谢
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 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.