开发者

Double click on Youtube Chromeless player for full-screen

I'm trying to add a double-click event to a chromeless player for youtube. This doesn't work, because the player is on top, I guess:

stage.doubleClickEnabled = true;
stage.addEventListener(MouseEvent.DOUBLE_CLICK,fullScreenSwitch);

When I add it to the sprite in which the player is loaded, it works, but then I can't click on the player (to click ads away for example).

Anyone 开发者_如何学Goan idea?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜