Found a free Flex / Flashpaper solution.

http://flexpaper.devaldi.com/

Comments

bennos’s picture

would love to see it supported.

Stuart Greenfield’s picture

Looks interesting!

Definitely one for the feature list. I am right in the middle of a wholesale revamp / rewrite of SWF Tools, but it's making modules simpler.

Once that's out the way in the next couple of weeks I'll come back to this.

If you don't hear anything to say I've started on this by then feel free to bump the issue to remind me :-)

Stuart Greenfield’s picture

I am actually going to start work on this. This is the first case of definitely wanting a player for an swf file.

It has got me thinking about some of the underlying code in SWF Tools and how to "open" it up more (at the moment players and things are hard coded). As part of building support for flash paper it gives me a reason to tackle this part of the code too, so that SWF Tools is truly dynamic and lets modules declare their support for players and media.

At least that's the idea.

But in terms of flash paper, that will now happen sooner rather than later.

bennos’s picture

will have an eye on this and provide testing and feedback.

As I understand you right. You want to open the module more, to make it easier to implement additional modules like other flash Player or Flex solutions. sounds great.

lelizondo’s picture

subs

Stuart Greenfield’s picture

Status: Active » Needs review

FlexPaper support has been committed on DRUPAL-6--3. It will be in the development snapshot when it next generates.

The module is fully functional and is profile capable. In fact, the new profile feature is key to this working as you (probably) need to create a profile so that you can assign FlexPaper as the "Default player for a single swf movie". Note - I've been working on the handling form so the options have shuffled around a bit on that page. SWF handler is now the first one!

Install the FlexPaper files under sites/all/libraries/flexpaper.

The best way I found to test this (and which proves just how powerful the new features are!) is to create a profile for rendering swf in to FlexPaper.

Then create a CCK content type with a filefield and assign it your new profile as the formatter.

You can also use the input filter, e.g. [swf file="myPDF.swf" profile="flashpaper"].

All FlexPaper options are available, except the "full screen as a maximised window". FlexPaper outputs a strange url that the underlying Drupal system reports as page not found. But other than that it seems good. I even have the language option working (although it doesn't link up with your site language... yet...)

Please post your finding (bugs, or to say it works!)

bennos’s picture

Great work Stuart. I have started a thread for documentation on "How to convert PDF's or Office Files to SWF for flexpaper".

http://drupal.org/node/759198

samdeskin’s picture

what do y'all think about displaying PDFs as HTML5 instead of SWFs?

drupdruppalpal’s picture

Great job!
thanks

testing...

james marks’s picture

The best way I found to test this (and which proves just how powerful the new features are!) is to create a profile for rendering swf in to FlexPaper.

How, exactly, do you do this?

james marks’s picture

How, exactly, do you do this?

Figured it out. Disregard.

FlexPaper support has been committed on DRUPAL-6--3. It will be in the development snapshot when it next generates.

I'm guessing that there should be a support module for flexpaper (which I've installed under sites/all/libraries/) included in this but I'm not seeing one. Is it not included yet or am I misunderstanding how the support is implemented?

Stuart Greenfield’s picture

The flexpaper module isn't in BETA-3, it is only available from the snapshot release at the end of the DRUPAL-6--3 branch (http://drupal.org/node/586002)

You also need to install the flexpaper swf under sites/all/libraries/flexpaper after downloading from http://flexpaper.devaldi.com/.

Because flexpaper renders an swf inside another swf you will need to use the profile system to create a profile that assigns FlexPaper as the handler for swf files.

Then you can create content (e.g. via CCK and a filefield) to accept a swf PDF, and you assign the formatter as SWF Tools Profile - FlexPaper, or whatever you chose to call your profile.

Docs are very thin on the ground because there's so much happening in SWF Tools. With all the changes coming I think I'm going to have to write a book :-)

Chokti’s picture

What do you mean by creating a profile? Do you mean a user? I wouldn't think so but I don't know any other profile in Drupal.

Thank you for your prompt response.

bennos’s picture

there is a new submodule called swf tools profiles. enable it and you can create profile for different situations.

knalstaaf’s picture

Because flexpaper renders an swf inside another swf you will need to use the profile system to create a profile that assigns FlexPaper as the handler for swf files.

I've consulted documentation (which must be outdated I believe, because I can't find certain things back) and hit several topics about it, but it's very hard to figure all this out. All I'm getting now is You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly.

What am I missing?

lightsurge’s picture

In regards to #6

All FlexPaper options are available, except the "full screen as a maximised window". FlexPaper outputs a strange url that the underlying Drupal system reports as page not found. But other than that it seems good. I even have the language option working (although it doesn't link up with your site language... yet...)

Patch available at http://drupal.org/node/1159076 adds the functionality to view as a maximised window as well as other new functionality, and works fine for me.