I think the crossdomain.xml file must go on the web server root, e.g. http://members.comu.edu.tr/crossdomain.xml. You should be able to see Flash loading/attempting to load this file if you run with Firebug and clear your caches. If you want to send an URL to the site itself, I'm happy to see if I can diagnose from here!

Regards,
Max Carlson
OpenLaszlo.org

On 3/6/10 10:24 AM, cem sonmez 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

Reply via email to