[WiiFlash] Localhost, v0.3.2 and wiimote speaker
Erik Lembke
erik.lembke at gmail.com
Mon Feb 18 09:41:44 PST 2008
Hi Jason,
this is a general problem with the Flash Player security settings. I
submitted the issue with a good solution on that.
Here's the post:
What steps will reproduce the problem?
1. Upload the SWF to an online server
2. Call "connect()" method of a Wiimote instance
3. Flash Player throws an Sandbox-Security error caused by the crossdomain
access
I already simulated a successful scenario. The WiiFlash server needs to be
extended with a listener on port 80. By a request on
http//127.0.0.1:80/crossdomain.xml it has to respond the following lines:
-----------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<cross-domain-policy>
<allow-access-from domain="*" secure="false" to-ports="19028"/>
</cross-domain-policy>
-----------------------------------------------------------------
As mentioned this was tested successfully and would be a good solution on
that problem. The "*" is also acceptable since there is no critical data
available from the WiiFlash server.
I've downloaded a simple example web server based on .NET and configured it
tot he port 80 and set the wwwroot to a directory containing a
crossdomain.xml with the above mentioned content. It worked perfectly!
Hope this helps!
Erik
Von: wiiflash-bounces at osflash.org [mailto:wiiflash-bounces at osflash.org] Im
Auftrag von j.vanpelt
Gesendet: Sonntag, 17. Februar 2008 03:37
An: wiiflash at osflash.org
Betreff: Re: [WiiFlash] Localhost, v0.3.2 and wiimote speaker
I'm unable to get 0.3.1 or 0.3.2 to work at all. They crash instantly.
I've been struggling with Security issues using the wiimotes in a standalone
app since last night. I did quite a bit of experimenting with different
Security settings last night to no avail. I could use the online Global
Settings Manager for testing, but that's not the best solution when my app.
goes out to the field and people have to run it locally on their machines.
Has anyone else found a way around this?
jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/wiiflash_osflash.org/attachments/20080218/d72b39cb/attachment.html
More information about the WiiFlash
mailing list