petay_pan
04-08-2008, 05:15 PM
Hi,
Am I missing something here... I'm using Flex 3 with ColdFusion8 and LiveCycle ES (standalone developer setup).
I'm just experimenting with Flex really and I was trying to load an RSS feed from the bbc news website (http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml). For whatever reason it will not load the url!
It works fine if I set up a basic flex project (no server technology). But when I try to run the same code in the application server type as ColdFusion and LiveCycle Data Services selected it throws a security sandbox violation.
I find this strange since if I launch the swf's html file from my file system (i.e: C:\myApp\Main.html) it works but if i run it from the webserver (i.e: localhost:8500/myapp/Main.html).
What is the solution to this since I was just wanting to load a simple RSS feed didn't expect be such a problem! I want to keep it running on ColdFusion because I want this test app to talk to CF8 and SQL through the AMF protocol.
I thought about setting up a CFM proxy for the feed but just seemed a bit messy! Have tried the 'useProxy="true"' on the HTTPService tag but no luck. I thought LiveCycle was supposed to work as a proxy for this problem??
Any help appreciated, I am loving flex and just want to get round this problem now and carry on with my learning! :D
Am I missing something here... I'm using Flex 3 with ColdFusion8 and LiveCycle ES (standalone developer setup).
I'm just experimenting with Flex really and I was trying to load an RSS feed from the bbc news website (http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml). For whatever reason it will not load the url!
It works fine if I set up a basic flex project (no server technology). But when I try to run the same code in the application server type as ColdFusion and LiveCycle Data Services selected it throws a security sandbox violation.
I find this strange since if I launch the swf's html file from my file system (i.e: C:\myApp\Main.html) it works but if i run it from the webserver (i.e: localhost:8500/myapp/Main.html).
What is the solution to this since I was just wanting to load a simple RSS feed didn't expect be such a problem! I want to keep it running on ColdFusion because I want this test app to talk to CF8 and SQL through the AMF protocol.
I thought about setting up a CFM proxy for the feed but just seemed a bit messy! Have tried the 'useProxy="true"' on the HTTPService tag but no luck. I thought LiveCycle was supposed to work as a proxy for this problem??
Any help appreciated, I am loving flex and just want to get round this problem now and carry on with my learning! :D