jpablobr.com

→ flash and xml not working on cakephp solution

More on: flash, xml, cakephp, Tue Mar 18 01:12:51 -0600 2010

I was having some problems with a flash file that requires an external xml file so it can render random data...

Everything was working fine, except when it was in a cake app... long story short, I found this post about PHP Proxy Script for cross-domain requests  which had everything I needed.

Just put the proxy.php like this in your server:

http://yourserver.com/proxy.php

Go to your action script file and modify your content_xml.load:

content_xml.load("http://www.yourserver.com/xml/menu.xml");

Finally, in your cake app:

blog comments powered by Disqus