开发者

Getting Physical Path in SWF File

I'm using UILoaders to load different .swf files into the main .swf and am having a problem when I try to load a specific .swf file after a series of steps.

I wanted to know if there was a way to se开发者_运维百科e which is the current path that the application is in so that I can know if my relative paths are working or if I have to change them.

I want to do something in the likes of this.path, or anything that works that way.

Thanks.


you can get the current url of your swf this way :

root.loaderInfo.url;

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜