Help Contents

Initial Document Settings

You can specify a few initial settings for Print2Flash documents without using Print2Flash Document API. You may pass these settings to your document in two ways:

  1. As parameters in the URL of the document SWF file like this:

    mydoc.swf?INITIAL_VIEW=page&INITIAL_PAGE=3
     
  2. As FlashVars parameters passed from the embedding HTML page like this:

    <object ...>
    ...
    <param name="FlashVars" value="INITIAL_VIEW=100&INITIAL_BOOKMARK=_Toc243503526" />
    <embed ... FlashVars="INITIAL_VIEW=100&INITIAL_BOOKMARK=_Toc243503526">
    </object>


    To obtain full HTML code for embedding of Print2Flash documents you may convert any document to Flash and then use Save HTML button in Print2Flash Application to create an HTML page with Flash document embedding code. Then you may modify FlashVars parameter in that code as you need it. Refer to Adobe Flash documentation for more information on FlashVars parameter.
Supported initial settings are listed in the following table:
 
Name Description
INITIAL_VIEW Initial zoom level. Can be any value accepted by setCurrentZoom Document API function. The default value is "width". 

INITIAL_PAGE

Initial page to display (numeric value). This setting is ignored if a valid bookmark is specified in the INITIAL_BOOKMARK setting as well. The default value is 1.

INITIAL_ROTATE

Initial page rotation. It can be either 0, 90, 180 or 270. The default value is 0.

INITIAL_BOOKMARK

Initial bookmark to scroll the document to. You may pass any valid bookmark name. This setting, if specified, supersedes INITIAL_PAGE setting. See Hyperlinks for more information.

 Copyright © Print2Flash Software 2005-2013. All rights reserved.

Support | Privacy policy