开发者

How to open a link from custom swf player which posted on wall

I'm really wondering about how youtube or soundcloud flash player on facebook wall posts can open url on another tab/window. I tried many things from navigateToURL (both url and javascript) to Ext开发者_运维问答ernalInterface, but I couldn't get it work.


If you're using Flex, this worked for my onclick:

var urlReq:* = new URLRequest(YourURL);
navigateToURL(urlReq, "_blank");

Here's an example where the bottom link is opened in new window.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜