开发者

How to do flash fullscreen in facebook application?

Farmvilli can do fullscreen. HappyIsland can do fullscreen.

But what is the trick to enable flash fullscreen in facebook applic开发者_开发问答ation?


Okay I have found the solution.

  1. you must not use fb:swf

  2. you will have to use fb:iframe to contain a html page that loads the flash (by swfobject or etc).

  3. you will have to set the flash param "allowFullScreen" to true.

  4. put the code

    stage.displayState = StageDisplayState.FULL_SCREEN;

inside MouseEvent / keyboard event functions, so the full screen code is triggered by user interaction.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜