Accessibility
Adobe
Sign in My orders My Adobe

FlashPaper Documentation

Specifying initial settings for FlashPaper 2.0 documents


Table of Contents

  1. History of the FlashPaper ActionScript API
  2. FlashPaper 2.0 ActionScript API
  3. Functions supported by the IFlashPaper interface
  4. The FlashPaper.SelectionRange Class
  5. Loading FlashPaper 2.0 documents into Flash
  6. Loading FlashPaper 2.0 documents as sprites in Director
  7. Specifying initial settings for FlashPaper 2.0 documents

You can modify a few initial settings for Flash documents without using ActionScript; instead, you override some settings in the URL of your SWF file, as follows:

foo.swf?INITIAL_VIEW=35&POPUP_ENABLED=false

In this example, the document is created with an initial zoom of 35%, and with the Open In New Browser buttonhidden.

The currently defined settings are as follows:

INITIAL_VIEW Initial zoom level (numeric percentage, "width", or "page").

INITIAL_PAGE Initial page to display (numeric value).

INITIAL_BOOKMARK Name of outline entry to use for initial view.

POPUP_ENABLED If false, hide the Open In New Browser button.

HIDE_SIDEBAR If true, do not show the sidebar.

UIFONT Name of the font to use for the FlashPaper user interface.

UIFONTSIZE Sizes to use for Normal fonts in the FlashPaper user interface.

UISMALLFONTSIZE Sizes to use for Small fonts in the FlashPaper user interface.