[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] /srv/bzr/gnash/trunk r10434: Update NetConnection com
From: |
strk |
Subject: |
Re: [Gnash-commit] /srv/bzr/gnash/trunk r10434: Update NetConnection comments and tests. |
Date: |
Mon, 15 Dec 2008 11:11:15 +0100 |
On Mon, Dec 15, 2008 at 10:41:52AM +0100, Benjamin Wolsey wrote:
> +// The pp and Gnash sandboxes behave differently. The pp rejects any
> +// network connection from filesystem-loaded SWFs unless the SWF location
> +// is added to the player configuration file.
It's more complex then that. You can add a tag to the SWF telling wheter
to use 'local' or 'network' sandbox when the SWF is loaded from filesystem.
Use 'makeswf -n network' to add the tag allowing local to connecto to remote.
Additionally, the remote server will have to accept connections from the
domain you're running from. This is done by placing a crossdomain.xml file
on the web root. See gnashdev.org/crossdomain.xml for an 'allow-from-all'.
The remoting.swf test *should* work in connecting to remoting.php on
gnashdev.org, except the LNX version of pp seems to be broken for that
setup. It surely works loaded from filesystem and connecting to
http://localhost/remoting.php.
--strk;