views:

126

answers:

2
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://mysite.com/Content/MyFlashApp/myflash.swf cannot load data from http://www.mysite.com/Home/SaveData.
    at Main/encodeAndSave()
A: 
garethm
Ya, you got it, thanks. See details on my answer below.
Matt
A: 

When doing a Post to a web app from a flash app, you must specify the URLRequest's server path to be the exact same as what you're on.

If you specify:
http://www.mysite.com
http://mysite.com throws the security error above.

see here for more details on cross-domain security issues and how to resolve them.

Matt