This content has been marked as final. Show 4 replies
Put a breakpoint on the line "private function httpFaultHandler(..." and Debug. Expand the Variables tab. Do you get a security violation or file permission error?
I set up the breakpoint, but it can not stop at all. I modified
Alert.show("There was a problem","Error");
Then the error message is
[FaultEvent fault=[RPC Fault faultString="Error #2148: SWF file file:///D:/Adobe/Flex in a Week video training/day1/AdobeODT2/bin-debug/AdobeODT.swf cannot access local resource assets/roomList.xml. Only local-with-filesystem and trusted local SWF files may access local resources." faultCode="InvokeFailed" faultDetail="null"] messageId="38C45C88-5A10-90FE-B3C6-81EB75337884" type="fault" bubbles=false cancelable=true eventPhase=2]
How do you get around the security sandbox violation?