开发者

facebook fb:swf stops working when you load an as2.0 object in as3.0

I'm using the gskinner.com bridge to load and talk between a as2.0 object in as3.0 . The library works smoothly. If I upload the html it works smoothly.

But when I embed it as u开发者_JAVA技巧sing fb:swf on facebook, the as2.0 object stops loading, any clues?


Found the solution:

var myLoader:Loader = new Loader(); addChild(myLoader); var url:String = "http://flashtestapp.varheroes.com/as2.swf" var urlReq:URLRequest = new URLRequest(url); myLoader.load(urlReq);

Apparently fb:swf doesn't like relative urls, if I load the swf from the same folder it doesn't work but giving a absolute url does.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜