[Webinar] Streamline your web hosting managementRegister Today


policy file request

Posted on 2008-02-11
Medium Priority
Last Modified: 2012-10-31
my deamon receives <policy-file-request/> from some flash client connects.

can you give me an example of what i should send as a reply ?
.swf resides on same domain as this deamon, just different port.
Question by:ed987
LVL 39

Accepted Solution

blue-genie earned 2000 total points
ID: 20935937
have a look in your help files under "About XMLSocket policy files" - it provides details there about the format of the xml file as well as server responses.

Expert Comment

ID: 38555397
When you receive "<policy-file-request/>" in the Data Arrival you need to send data back to Flash Client :-

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
   <site-control permitted-cross-domain-policies="all"/>
   <allow-access-from domain="*" to-ports="*" secure="false"/>
   <allow-http-request-headers-from domain="*" headers="*"/>
   <allow-http-request-headers-from domain="*"/>
</cross-domain-policy> + '\0'

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
Suggested Courses

611 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question