I am writing a Photoshop plugin as an ExtendScript (Javascript) file, that then loads up a Flash window, which I will call plugin.swf - My plugin.swf file uses an element to POST to a certain URL. When I load plugin.swf with Internet Explorer, the HTTP POST is completed successfully. When I load plugin.swf via the Javascript (which is called via the File -> Scripts menu of Adobe Photoshop), the HTTP POST returns the following:
... target = (flash.net::URLLoader)#3 text = "Error #2048: Security sandbox violation: file://{location of my .swf} cannot load data from {location where I'm trying to send HTTP POST}." type = "securityError" timestamp = 0 timeToLive = 0 ...
Why will the HTTP POST work when loading the .SWF file through Internet Explorer, but not work when loaded through Adobe Photoshop?
Edit: Anyone?