The weather has been absolutely stunning here in New Zealand around x-mas and NY and while I have been in the water most of the time, I have still managed to spend some time on new features for my open source project FlexPaper. A bunch of minor issues were also resolved.
I dub this version 1.1.
New features / changes:
The search feature works best if you embed your fonts in the converted PDF. The recommended arguments for PDF2SWF (using an example file name of pdf1.pdf) from now on:
pdf2swf.exe file1.pdf -o file1.swf -f -G
Please see this page for a complete list of PDF2SWF arguments and their explanations.
I have updated the FlexPaper page. Find the complete guide here.
Preview below
Hi,
It seems that there is a memory problem when using the thumb view, it doesn’t seems to be garbaged collected anymore.
I am under linux with flash Flash 10.0 r32 (debug) and flex 3.4
Hi Thierry,
I can’t seem to see any problems on smaller documents (<50 pages), I will take a look at a larger document (>300 pages) and see if I can see any issues. Do you have a sample swf to give me where you noticed it or do you notice it on my sample? Thanks for the heads up!
Update on the memory issue:
I did find the thumb view to be consuming too much memory on large documents due to a bug in flash player 9/10 not releasing MovieClip resources properly. I have therefore changed the method it uses to draw the thumbs which should reduce the amount of memory it uses a lot and remove that memory issue. Scrolling the thumb view should be a lot faster now too.
I have posted the latest build to http://code.google.com/p/flexpaper
Thanks again for your feedback
It would be cool if I also could use this to publish high quality JPGs of scanned handwritten documents. Need horizontal and vertical scroll as well as zoom.
Awesome. This is exactly what I have been looking for and haven’t been able to find until now.
Hi Erik,
Awesome work.
I’m trying to build the swf version (to integrate it into a flash development) from the svn sources tree.
But I can’t figure out how to do this. Can you give me more instructions ?
I’m also thinking there is a minor error on the FlexPaper guide page. Into the paragraph about using the component in Flex. The sample code use the following namespace declaration xmlns:fp=”com.devaldi.FlexPaper.*” but according to the svn sources it should be instead xmlns:fp=”com.devaldi.controls.flexpaper.*”, isn’t it ?
Thanks for your help.
Best regards,
Marc.
Erik,
This is shaping up to be an amazing piece of software
A couple of things that would be fantastic additions from my standpoint…
1) Customisation: Would it be possible to supply an xml layout file or something with the toolbar layout and perhaps custom icons…
2) “Landscape” Mode: Is it possible to view the document in a mode that scrolls horizontally instead of vertically
3) Next Previous buttons.
I am working on a project involving children’s books and customisation like this would be a huge bonus…
Let me know your thoughts
Cheers
Dave
Also,
Is it possible in any way to open it up as a .fla file an edit it this way as you can with other open source Flash components, or could I have a very quick tutorial on how to do this using flex and export to a Flash component
Cheers again,
Dave
Hi Erik,
Awesome work.
What about a “full screen” button ?
Best regards,
@vigli it will be part of next version which I am working on
@Dave I wish I had time to write more tutorials at the moment, I don’t think its possible to open it up as a .fla unfortunately
@Marc thanks for the heads up about the error. You’ll need to install the svn plugins for flexbuilder to build the .swf/swc.
@Dave
1) I am working on creating a way of allowing templates for the toolbar
2) & 3) on my to-do list
I want to insert some pdfs into my flashsite. I have converted them to swf and the question is how to get it in this flexpaper-frame. Anyone wanna help?
This looks very useful
but I might have found a little bug: You can drag the About popup out of view, leaving the rest of the flash blurred and useless until you reload the page.
@OneEyedOdin Thanks for the heads up!