actionscript 3 - Connecting to a local socket server from SWF on remote page -


i have kiosk connects local socket server can access hardware. if kiosk code stored locally, can access socket perfectly.

however, , know reason, if kiosk code hosted on remote server, can not access local socket server because of sandbox violation.

the problem of these kiosks hosted on appengine, when done making changes, takes hours render out single html file, , change css/js location links.

is there anyway possible allow swf file access local socket server when hostel remotely?

also, socket server java app dont have source to. run locally through terminal

i've had same problem.

the thing flash player 10 security sockets has become stricter. placing crossdomain.xml on server won't - have send crossdomain policy file client connects.

the simplest solution provided adobe - they've provided couple of scripts, 1 perl , 1 python, set policy file server. can find them here:

setting socket policy server


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -