wvDisplay BlackBox

The wvDisplay BlackBox functions are intended to make it easier (or possible) and more flexible to display text, flash and PDF files on your FileMaker layouts. The BlackBox has two functions, Flash and PDF. The DisplayText function is now a part of the free Lite BlackBox (Included in Reactor itself). Each of these functions provide advanced options to display these components in a Web Viewer.


DisplayFlash


Displays a Flash file, using a simple generic wrapper, which can detect Flash Players presence, and display a message to users if they do not have the appropriate version of Flash Player installed.

DisplayFlash( flashDocument {; flashVersion ; flashVars ; flashParams } )

Parameter Name Description
flashDocument The actual flash document you want to display in the Web Viewer. This can be a container field, or a URL/path to the flash document.
flashVersion The minimum flash plugin version that the user must have to view this document. If the users player version is less than this, we will give the user the option to upgrade their flash player.
flashVars flashvars you want passed through to the action script. These must be specified in name:'value' pairs.
flashParams The parameters which go inside the embed/object tag. Use this if you need to set the flash document's background color or other advanced options. See the documentation for available parameters.

DisplayPDF


Displays a PDF file, using a simple generic wrapper, which will detect if a PDF plugin capable of display the PDF is available. Also allows you to easily pass a list of parameters to the plugin (particularly useful with the Adobe Acrobat/Reader plugin).

DisplayPDF( pdfDocument {; pdfParameters } )

Parameter Name Description
pdfDocument The actual PDF document you want to display in the Web Viewer. This can be a container field, or a URL/path to the PDF document.
pdfParameters Parameters for displaying PDFs. Documentation for the available parameters depends on the installed PDF viewer, and can usually be found on the vendors website. For example: "navpanes=0¶toolbar=0¶statusbar=0¶messages=0"