Flash player is surrounded with sand box security and will not allow untrusted/unknown domains in to tyour application.
This is not an error or bad side of flex applications, its for your app security..
Solution: You can either use a crossdomain.xml file in your application.
In crossdomain.xml specify the following
you can also use the following syntax in your mxml code..
can I just put the crossdomain file in the same folder as the app? I tried that and it didn't work. I also changed all references to localhost to the host name for my database but I stil get the erroe and also in the message bar at the bottom of the browser it says "waiting for localhost"
ok I'll put this post back at the top :-) come on now I'm sure someone out there's had this exact same problem.