I'm building an internal app, so I'm not concerned about initial size. Once developed it should be cached on the local box.
I have to generate various 30 page PDF's that are already defined. I can populate them on the server using a tool like pdftk and then download them to my flex app just like any PDF.
I would like to only download the .fdf file and have the .pdf file as a resource internal to my flex 4 app. The purpose is to conserve bandwidth when the app is running at remote facilities.
It seems like the .fdf has an internal pointer to the .pdf, but I cannot seem to get it to work. I'm guessing that the path is relevant to the directory that contains my .swf.
Has anyone done this or can point me in the right direction???
A snippet of my .fdf file follows:
1 0 obj
<</Root 1 0 R>>
FWIW I gave up on the idea. Using the fdf to launch the PDF has a major weakness (for my needs) in that it still allows the user to edit the form. I just want them to be able to print it. Perhaps I could defiene it as not editable, but I've got it working where I merge the two data streams on the backend and return the PDf as the response.