Andy, Maybe I'm misunderstanding, but it sounds like you are trying to serve the PDF from within your Flash File?
I'm not as up to speed on Flex as I should be so I'm not sure how to integrate <cfdocument> there, but it would seem to me that you would need to use your <cfdocument> tag on a .cfm or a remote CFC function and then have your flash file perform an http request to get or post to the object. Alternately, you may be able to use flash remoting to perform a remote method call on the CFC that generates the report. Another option, if you want the report to be native in the Flash object is to use FlashPaper as your output type. I'm getting a server error on the URL you provide so I haven't been able to see your output to the browser. HTH, Jon On May 18, 2007, at 12:43 AM, Andy Matthews wrote: > Anyone else? Am I pretty much resigned to recreating this as HTML? > >> I have a customer who asked me to build a fairly simple reporting app >> using Flash. They save information to the db, then run the reports, >> and the data gets pulled into Flash and displayed. >> >> Now the customer is wondering if these reports can be exported as >> PDF. >> Luckily the host is running CF7. So I'm trying to save this as a PDF >> but it's not working. Does anyone have an idea as to what might be >> happening? >> >> I'm using the FlashObject code and at first I got a message saying >> that FO wasn't deined. Then, I changed it to use the basic >> object/embed code and got a jumble of PDF code. Now I get a blank >> screen with either method. >> >> Here's the page: >> http://2802designers.com/reporting/reportPDF. >> cfm?region=1&period=2007-4-1 >> >> Anyone have > ideas? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278650 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4