Adobe Flash CS4 AS3:获取正在运行的项目的当前目录? [英] adobe flash cs4 as3: get current directory of a running project?

查看:156
本文介绍了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.

谢谢

推荐答案

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

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.

这篇关于Adobe Flash CS4 AS3:获取正在运行的项目的当前目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆