its few days i'm stock with a issue using amfphp 2 in my actionscript project.
i have an actionscript project which gets the data from db through amfphp, when i run the complied swf in debug mode or just run through flash player it works fine , but once i wrap it with html and open it through browser it never gets the data from db, dose any body can help me what is going on ?
i have added these lines at the first of the project , but still through browser ( i've tried , Chrome, Firefox and safari) it cannot connects to db.
preguntado el 10 de marzo de 12 a las 08:03
first of all, download the debugger Flash Player extension for your browser. When running Flash content in debugger it will tell you what errors occur.
Also, I'd suggest to check out the Crossdomain policy file on the server you're trying to communicate with. To be able to communicate with any servers from Flash Player you need to allow it on the server by using a crossdomain.xml file.
Buena suerte, rob