I wanted to forward this thread from the forums regarding a problem someone had
with data loading in SOLO mode. The Flash security model is tricky,
and it sounds like
several different issues were at play here with deploying an app that
accesses data
from a separate server, even if it resides on the same host.



http://www.laszlosystems.com/developers/community/forums/showthread.php?s=&postid=24367#post24367

 problem solved

Thanks hqm for your suggestion, I seached and learned the more about
crossdomain.xml file (I'm not a Flash developer at all so had never
heard of it before) on posts here and links to external sites and
these steps solved the problem:

1. put a crossdomain.xml on the data server with this code:

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy
SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>

(a bit free with the 'domain="*"' bit, I'll tighten the settings to be
more specific to my Laszlo app now)

2. put this code in my laszlo app:

<script>
System.security.loadPolicyFile("http://localhost:8888/joom/crossdomain.xml";);
</script>

3. upgrade my Flash player to version 7,0,68,0 (the highest version I
can get for my Ubuntu Linux system), it previously running something
like 7,0,19,0 (can't recall exactly now) - which didn't recognize the
crossdomain.xml file when asked to do POST requests, but did for
querystrings.)

---

ALL those steps are required.

Thanks for your help and time!



-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to