Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asSQL on localhost server #89

Open
GoogleCodeExporter opened this issue Aug 7, 2015 · 1 comment
Open

asSQL on localhost server #89

GoogleCodeExporter opened this issue Aug 7, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. I have ActionScript code with asSQL connection. When I work in Flex
Builder and compile my project all fine, but when I copy Release files
exported from Flex to local Web WAMP server asSQL don't wotk.
I put crossdomain in root folder:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM
"http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">

<cross-domain-policy>
<allow-access-from domain="*" to-ports="*"/>
<site-control permitted-cross-domain-policies="all"/>
</cross-domain-policy>

In script write:
Security.allowDomain("www.torovo.ru");
Security.loadPolicyFile("http://www.torovo.ru/crossdomain.xml");

I try many other ways, but asSQL don't work!

What is the expected output? What do you see instead?
Policyfiles.txt:
Ошибка: Запрос ресурса на xmlsocket://www.torovo.ru:80 
источника запроса из
http://www.torovo.ru/MapView.swf отклонен из-за 
отсутствия разрешений в
файле политики.
Ошибка: SWF-файлу от http://www.torovo.ru/MapView.swf не 
удалось
подключиться к сокету в своем собственном 
домене без файла политики. 
Сведения об устранении этой проблемы см. на 
веб-сайте
http://www.adobe.com/go/strict_policy_files_ru.
Ошибка: SWF-файлу от http://www.torovo.ru/MapView.swf не 
удалось
подключиться к сокету в своем собственном 
домене без файла политики. 
Сведения об устранении этой проблемы см. на 
веб-сайте
http://www.adobe.com/go/strict_policy_files_ru.

InternetExplorer:
Error #2044: Необработанный securityError:. text=Error #2048: 
Нарушение
изолированной среды: http://www.torovo.ru/script.swf не 
может загрузить
данные из www.torovo.ru:3128.

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 5 Nov 2009 at 12:08

@GoogleCodeExporter
Copy link
Author

I have the exact same problem. When I debug or run from Flash Builder it's all 
fine. Whenever I deploy it to wamp or open myproject.html file in another 
folder it would not connect with an IO error. Weird thing is when I navigate to 
flash builder's workspace folder and find the project's bin-debug folder and 
opened the html file there it works again...

Original comment by uo1979 on 8 Jul 2012 at 6:27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant