adobe flash cs4 as3: get current directory of a running project?

£可爱£侵袭症+ 提交于 2019-12-24 08:26:08

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/2155021/adobe-flash-cs4-as3-get-current-directory-of-a-running-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!