BackDoor- Door 1
You find yourself in a strange house with only a man on the phone as a guide.
4.09 / 5.00 27,534 ViewsMini Commando
Action adventure game with nazi enemies in the second world war.
3.91 / 5.00 23,559 ViewsHey guys!
Gettin' ready to publish a new game that has a multiplayer mode. It requires a crossdomain.xml file to be located on the server somewhere.
I know there are plenty of multiplayer games already on Newgrounds, but am new to developing multiplayer games myself. Does anyone know for sure whether or not this file exists on NG?
At 2/1/13 11:09 AM, ZT wrote: Does anyone know for sure whether or not this file exists on NG?
Why would you want it on NG?
At 2/1/13 11:17 AM, milchreis wrote:At 2/1/13 11:09 AM, ZT wrote: Does anyone know for sure whether or not this file exists on NG?Why would you want it on NG?
I could be mistaken, but I believe this file is required on the server where the SWF exists.
I'm using a smartfox server, so maybe this is an atypical set up.
At 2/1/13 11:33 AM, ZT wrote: I could be mistaken, but I believe this file is required on the server where the SWF exists.
The crossdomain.xml restricts access basically, so that would be a poor security if you -the owner of the swf- were to allow or restrict the access.
"Welcome to the CIA website, please make sure you do not allow your swf files to mess with our stuff please, hm kay?"
"What could go wrong"
http://docs2x.smartfoxserver.com/DevelopmentBasics/connectio n-phase
Wow! That's an incredibly thoughtful reply, thank you so much!
For those dealing with a similar issue, I'm 90% sure that I solved the problem using Security.loadPolicyFile(); and loading in an external cross domain policy.
I say 90% because the swf still doesn't connect when launched directly, but seems to work fine once embedded in a page. I'll post an update when I know for certain / have everything worked out.
At 2/1/13 12:40 PM, ZT wrote: I say 90% because the swf still doesn't connect when launched directly, but seems to work fine once embedded in a page. I'll post an update when I know for certain / have everything worked out.
this may clear things up.
Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P
Whaaaat?!
I really didn't expect as much help as I've gotten. You guys seriously kick butt. The tool above, and that whole collection on GitHub is freakin' awesome.
I'm now something like 98% sure that the problem is fixed. Basically followed this: http://www.adobe.com/devnet/flashplayer/articles/fplayer9_se curity.html
To paraphrase, I removed everything that wasn't nested directly inside of the <cross-domain-policy> nodes.
Cheers!