I need to display images from one server in a Flash file on another. I cannot place a cross-domain policy file on the images server, so I’m trying to follow the technique outlined here:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16520&sliceId=1
I am using the ColdFusion version, but I can’t seem to get the proxy file to work correctly. If I have my dataURL path correct, proxy.cfm results in the “missing image” icon, and the flash file returns the error: “Error #2124: Loaded file is an unknown type.”
I know the path is correct, because otherwise the cfheader tag doesn’t know it’s an image I’m trying to load. I’m assuming the problem is on the CF proxy side rather than the Flash side since the image doesn’t even display on proxy.cfm.
Update: I notice that if I have a “<cfcontent reset=‘yes’>” right before the #cfhttp.filecontent# AND I take out the <cfprocessingdirective> tags, then I at least get something on the page that slightly resembles the image, but it’s jarbled up. Also, I didn’t think to mention that I am using BlueDragon instead of standard ColdFusion (though I don’t see any indication that BD didn’t include cfhttp functionality).