Back to blog Download

SWF Document Viewer Features

  • written in ActionScript2 / Flash 8
  • loads swf converted files (OOo2pdf - pdf2SWF) separate from the actual viewer.
  • use SWFObject library to load the viewer and javascript to give arguments, document url etc
  • seach with clear button
  • search matches highlighted on next pages automatically as you go(sometims you still have to click search button once to view all)
  • pages jump by typing number
  • Copy all page (short highlight show the process succeeded)
  • Full Screen
  • Resizing remembers the view mode, so it scales accordingly
  • Tooltips on buttons
  • All the other options from rfwView
New features - 01.28.2009
  • Keyboard shortcuts:
     Ins - Copy to clipboard
     Home - First Page
     End - Last Page
     PageUp - Previous Page
     PageDown - Next Page
     Arrow Keys - Scroll
     Keypad / - Zoom Show All
     Keypad * - Zoom Best Fit
     Keypad - - Zoom Out
     Keypad + - Zoom In
     Keypad 5 - Full Screen
  • Mouse Wheel:
     Alone - Vertical scroll
     Shift pressed - Horisontal Scroll
     CTRL pressed - Zoom IN/OUT
   

In order to view this page you need Flash Player 9+ support!

Get Adobe Flash player


SWF Document Viewer Integration

<script type="text/javascript">
var flashvars = {
 doc_url: "test.swf",
};
var params = {
 menu: "false",
 bgcolor: '#efefef',
 allowFullScreen: 'true'
};
var attributes = {
 id: 'website'
};
 swfobject.embedSWF('zviewer.swf',
    'website', '700', '600', '9.0.45',
    'swfobject/expressinstall.swf',
    flashvars,
    params,
    attributes
);
</script>