Invalid SQL: INSERT INTO `swsessions` (`sessionid`, `ipaddress`, `lastactivity`, `useragent`, `isloggedin`, `sessiontype`, `typeid`, `dateline`, `status`) VALUES('67bfd494e8ffea742a6a9433815462aa', '54.167.225.62', '1498610602', 'CCBot/2.0 (http://commoncrawl.org/faq/)', '0', '40', '0', '1498610602', '0'); (The table 'swsessions' is full)
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\support.inm.com\includes\functions.php:410) in C:\Inetpub\support.inm.com\includes\functions.php on line 1612
How to create a custom progress indicator - Support Center
inm logo
Corporate Website | Contact | Store | Support | Login  
     


Knowledgebase
View categorized listing of all common frequently asked questions.
Downloads
View our categorized library of downloads for all necessary manuals, software, etc.
 Article Options
Support Center » Knowledgebase » INM PDF Xtra for Authorware » How to create a custom progress indicator
Support Page Banner
 How to create a custom progress indicator
Product:Platform:Area:Version:
PDF Xtra for AuthorwareWindows, MacintoshDownloading PDF documents2.2.1 - 7.x

Summary

PDF Xtra allows you to download PDF documents from the web and, in version 7.0, now allows you to display automatic progress indicators to your end-users while the documents are being downloaded. The automatic progress indicators can be turned on or off in a checkbox on the PDFXtra Options dialog or by calling global method PDF_SetProgressIndicator().

For previous versions of PDF Xtra, or if you want to display your own custom progress bar, you can do so via Authorware scripting.

First you will need to define two global variables in your script: PDFBeginProgress and PDFProgress.

PDFBeginProgress contains the number of bytes to be downloaded. PDF Xtra sets its value when the download starts, to allow you to initialize or open whatever progress indicator you want to show. This variable is set to 0 when the download is completed.

PDFProgress is repetitively updated with the number of bytes downloaded so far. Typically, you would do a loop and update the progress indicator display until PDFProgress = PDFBeginProgress, or until PDFBeginProgress = 0.

Example

This sample Authorware piece demonstrates how to use the global variables, PDFBeginProgress and PDFProgress to display a progress bar and the relevant information on screen while a PDF document is being downloaded.

Sample

Download Progress Indicator Sample for Authorware 4: zip   sit

Download Progress Indicator Sample for Authorware 5: zip

Download Progress Indicator Sample for Authorware 6 or 6.5: zip

Download Progress Indicator Sample for Authorware 7:zip



Article Details
Article ID: 82
Created On: 26 Sep 2006 12:19 PM

 This answer was helpful  This answer was not helpful

inm general footer
Services Xtras Go Products Support Gallery Store Download About Us Contact Newsroom