开发者

could i get access to the loaded uri in actionscript for "loadmovie"

i wanna load a movieclip inside another movieclip with loadmovie or anything like this. so my question is.... could have i access to the location of the loaded swf-file inside the loaded swf-file?

example:

swf#1 loads swf#2 inside itself, so now the swf#2 should check its own uri with an identical key..开发者_C百科 but without access to the loaded uri... it would be hard to pass this step :-). is there any information given?

as2, as3 dosn't matter.... could use both :-)


I'm not sure I understand the question in full, but any swf can get its URL, the URL it was loaded from. In AS2 it would be like this._url and in AS3 like this.loaderInfo.url.


I don't really understand what the question is asking, but can't you have swf1 pass the uri to swf2?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜