lvil
lvil

Reputation: 4336

A flash game in Fancybox

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 parameters 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"

Upvotes: 0

Views: 267

Answers (1)

OpenGG
OpenGG

Reputation: 4540

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

Upvotes: 1

Related Questions