I made my flash FTP transfer using socket , but when putting it in HTML file i am getting cross domain error, i have tried with various possibilities but failed. Please help me
Socket policy files are served differently than crossdomain policy files for HTTP requests. You need a socket policy server, not just a socket policy file placed on an HTTP server. See http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html
To validate a server policty with flash for a socket server, remove the file name: Security.loadPolicyFile('xmlsocket://ipaddress:port');
It assume that your server listen to the given port and will return the security policy. However the port you given (80) is the http port, so it may not be valid (used for the http requests)