开发者

A flash game in Fancybox

开发者 https://www.devze.com 2023-03-31 17:47 出处:网络
I am using a jquery plugin \"fancybox\" to open a flash game. The game is opened, but when I click a button in the game nothing happens.

I am using a jquery plugin "fancybox" to open a flash game.

The game is opened, but when I click a button in the game nothing happens.

What para开发者_C百科meters are missing?

$("a#play").fancybox({
                    'padding'           : 7,
                    'type': 'swf'

                });

UPD: I mean that I can see the game menu and it's animation, but when I press a button in the menu, nothing happens (the game doesn't start). When the game is opened in a regular way (going to a link), everything is fine.

UPD2: I receive error: "GET http://myhost/crossdomain.xml 404"


It seams like you have to create a crossdomain policy file for your domain.

Here you can find why and how.

http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html

0

精彩评论

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