开发者

Getting Physical Path in SWF File

开发者 https://www.devze.com 2023-03-07 06:27 出处:网络
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'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

精彩评论

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