Converting Flash frame to JPEG

Posted by dhorn on Stack Overflow See other posts from Stack Overflow or by dhorn
Published on 2010-05-03T20:56:34Z Indexed on 2010/05/03 20:58 UTC
Read the original article Hit count: 288

Filed under:
|
|

We are attempting to convert a flash frame into a JPEG without using the Flex SDK or other adobe tools. Right now, we have a flash file that passes binary data over to a .cfm page, which uses the following code to change the headers:

<cfset var = GetHttpRequestData()>

<cfcontent type="image/jpeg">
<cfheader name="Content-Disposition" value="attachment; filename=#url.name#">
<cfoutput>#var.content#</cfoutput>

This code is producing some strange results. Basically, it renders as an image, and I can "right click -> Set as desktop background", but I cannot save the image any other way, as it simply saves the contents of the HTML Source. So, questions:

1) Is what I'm trying to do even possible? 2) If so, any suggestions?

Thanks guys.

© Stack Overflow or respective owner

Related posts about coldfusion

Related posts about flash