PDA

View Full Version : LoadPolicyFile Support


bpair
03-27-2006, 09:07 AM
The Flash Security restriction can be impossible to get around if you do not expose port 80 on the data server. Macromedia was aware of the issue and created the ActionScript call, System.security.loadPolicyFile(); so that the location and name of the policy file could be specified. The default behavior by the Flash player to search port 80 is not adequate. Unfortunately OpenLaszlo only provides access to this default behavior.

Since my company tries not to open port 80 on any server much less our XML database servers, Laszlo is basically unusable deployed SOLO.

userfriendly
03-29-2006, 05:57 PM
have you tried just calling that actionscript method? for example, i use the xmlsocket api of the flash player without having an openlaszlo supported api for it.

bpair
03-29-2006, 06:02 PM
I have tried it, and I continue to get the data security error message. I think the call probably works and my issue is something else. Thanks for your help though.

userfriendly
04-02-2006, 07:15 AM
probably, i tried it and it worked for me. keep looking, you will find that issue :)