This content has been marked as final. Show 3 replies
Just wanted to clarify that the app works perfectly on my development machine.
And one more thing, the app does both local file access and External Interface calls to some AJAX code in the wrapper.
I've successfully managed to get this working by setting up the app as a Trusted app in FlashPlayer, but the same thing doesn't work in my friend's PC with Flex Builder installed.
Lastly, we're both using FlexBuilder for the Mac Beta. Could that be an issue?
Thanks in advance!
It now also stopped working on my own machine with the same cryptic error!!!!
I even added an Security.allowdomain(*) and confirmed that I'm running as localtrustred by tracing Security.sandboxtype to no avail.
My fault folks.
Found out that a program that feeds my Flex app was generating invalid XML.
The fault handler trap I had in my Flex app (which was based on some sample Flex code btw) was generating the the misleading alert.
Moral of the story - instead of just showing the event.fault.message in your fault handler, be sure to prefix it with a specific error message.
Flex is a wonderful tool! Debugging in a declarative, asynchronous env like Flex requires some new debugging strategies though and unlearning some old programming habits, though.