I am trying to develop a FLEX + BlazeDS based application to display the images of a particular entity based on the search criteria.
Based on the input criteria entered by user i have developed a java (blazeds ) based data service layer to access a remote DB and fetch the images and then to create a gallery xml with the relative paths of these images.
This data service returns the path of the gallery xml file to Flex GUI.
From the FLEX mxml i am trying to access this XML file but getting the security exception #2148. Then i tried passing the relative path string but still getting error.
I want to know if there is any standard way of accomplishing this task?
Your help will be highly appreciated.
Is your web container remote or local ? If it is remote , have you added a crossdomain.xml file the the docroot directory of your domain , this alone is responsible for many hours of suffering.
Check out this link:http://curtismorley.com/2007/08/31/flash-cs3-flex-2-as3-error-2148/