2014-09-17 7 views
-1

Flash 웹 응용 프로그램에 일부 데이터를 제공해야하는 Delphi로 만든 http 서버가 있습니다. 서버가 잘 작동 , 그것은 포트 7777에 바인딩, 난 내가 플래시 응용 프로그램에서 쿼리를하려고 어쨌든 때, 브라우저 sucessfuly 쿼리를 만들 수있다 - i는 다음과 오류를 받고 있어요 :THttpServer 및 Flash 응용 프로그램

Error: [strict] Ignoring policy file at http://192.168.0.194:7777/crossdomain.xml due to incorrect syntax. See http://www.adobe.com/go/strict_policy_files to fix this problem. 

Warning: Domain 192.168.0.194 does not specify a meta-policy. Applying default meta-policy 'master-only'. This configuration is deprecated. See http://www.adobe.com/go/strict_policy_files to fix this problem. 

Error: Ignoring policy file at http://192.168.0.194:7777/?crossdomain.xml due to meta-policy 'master-only' 

합니다.

이 포트는 제 7700 포트에서 다시 요청하는 크로스 도메인입니다.

Security.allowDomain("*"); 
Security.allowInsecureDomain("*"); 
Security.allowDomain("http://192.168.0.194"); 
Security.allowInsecureDomain("http://192.168.0.194"); 
Security.loadPolicyFile("http://192.168.0.194:7777/?crossdomain.xml"); 

이것은 Flex의 onCreateApplication에있는 코드입니다.

답변

1

당신의 crossdomain.xml에이 줄을 추가

<site-control permitted-cross-domain-policies="master-only"/> 

읽으 fplayer_security 기사를 먼저 사용할 수있는 모든 메타 정책에 대한

시도가 기본값이 아닌 다른 뭔가를 사용하는 "마스터 전용"값을 .

+0

아니요, 안타깝게도이 문제는이 문제와 같습니다. –

+0

@YordanYanakiev : 'master-only' 이외의 다른 정책을 시도해 보셨습니까? –