You may also need to make sure that your web server is returning the proper MIME type for the XML file. The LPS server proxy makes sure to set the content type properly (to application/xml I believe). If your server is not setting the mime type properly, Flash might refuse to load the data (I'm not sure about this in Flash , certainly DHTML data will fail to load with the wrong content type)
On Sat, Mar 6, 2010 at 1:24 PM, cem sonmez <[email protected]> wrote: > But for the dataset request, I am just setting the src of the dataset >>> for a xml file that is in the same directory of the swf. Not referring >>> to any file on another domain. And I have added this to the canvas as >>> well. >>> >>> <handler name="oninit"> >>> Security.allowDomain("*"); >>> </handler> >>> >> >> You may also need to add a crossdomain.xml file on your webserver's root: >> >> <cross-domain-policy> >> <allow-access-from domain="*" /> >> </cross-domain-policy> >> >> > my application directory looks like this : > > application > -> lps > -> xxx > -> yyy > -> application.lzx (has canvas) > -> crossdomain.xml > > In the oninit handler of the application.lzx added this line > Security.loadPolicyFile(" > http://members.comu.edu.tr/cem/fi6en(allow)/crossdomain.xml"); (locates > here on the web) > > But nothing changes, still no request for the dataset. > Forgive my inexperience please. Maybe I am doing something wrong. > Thanks > > -- > Cem SONMEZ > -- Henry Minsky Software Architect [email protected]
