Michael Brennan-White asks:
I am attempting to create a new RIA app using the new Ajax tools in CF8. Is there a special trick needed to display a FlashPaper or PDF in a cflayoutarea? I am calling the report with this link:
(freaky stuff here) It doesn't matter if I am using an existing PDF file or a PDF generated by a cfr file. Any suggestions?
Flash is a different story. Since Flash can be embedded in a page, you should be able to use Flash Paper easily enough. Unfortunately, when you create the Flash Paper via CFDOCUMENT, ColdFusion makes it act the same as a CFDOCUMENT/PDF call. It takes over the entire page.
You can get around this though. Don’t forget CFDOCUMENT lets you save the resultant binary data into a variable. You can generate your FlashPaper, save it, and then point to a HTML/CFML file that uses the object/embed tags to load the Flash.