Scroll() in Adobe Acrobat and Adobe Reader X using Javascript

Hi there,
Does someone know how scrolling works in Adobe Acrobat/Reader using javascript?
The scroll() functions needs two parameters: x and y.
How are these axises defined? Is this based per page or does the scrolling reference change every time the page changes?
Why we need to know this? We're making and application in Flash Builder that loads a PDF. External buttons need to call an embedded javascript within the PDF that scrolls up or down.
Anyone who can provide us with some information concerning this topic: thank you!
Regards
Mario

Well,
It's hard to formulate: basically we need to understand how the scrolling is handled in Adobe Reader.
Like: why does the scrolling index change every time you change to a new page. It gets resetted or something.
Anyway: you cannot create a variable "scrollVerticalIndex" and "scrollHorizontalIndex" and increment it everytime you want to go down or up/left or right and say scroll(scrollHorizontalIndex,scrollVerticalIndex). Also, if you zoom in, the dimension of your page stay the same. We cannot find a way to calculate top or bottom of a document.
In a perfect world you could say: (height of a page) x ((number of pages)-1) = total height of the document (and thus the total amount you can scroll up/down). But that is just not the case...
We want to get an insight how the scrolling works :-)
Does this make sence ;-) ?

Similar Messages

  • Conflict between Adobe Acrobat and Adobe Reader and how I fixed it

    For the past 5 years, I have owned Adobe Acrobat version 9, and recently installed Adobe Reader as well (version 10.7). I was previously able to set up Firefox to use Acrobat to display PDF files in the browser without downloading them, but I recently noticed that this was no longer the case. Instead, every PDF file I tried to view was being downloaded instead. I came here to find a solution, and discovered that many other people are having similar problems. I followed the instructions given here (https://support.mozilla.org/en-US/kb/view-pdf-files-firefox-without-downloading-them), but found that they were actually UNhelpful. They tell you to turn off the Firefox PDF viewer by editing about:config to disable the file pdfs.js, which is the native Firefox PDF viewer-- but that will cause the PDF file type to disappear from the Tools/Options dialog, so you can't assign it to another program (whether Adobe or anything else). This makes it impossible to assign the Adobe plugin to open PDF files. I did figure out a solution on my own, and wanted to post it here to help other users with the same problem.
    I ultimately learned, through trial and error and a lot of research both here and on Adobe's website, that the root cause of my problem was a conflict in Firefox between Acrobat and Reader. I was able to solve it by upgrading Acrobat, getting rid of Reader and enabling the Firefox PDF viewer so that I could assign the PDF file type to the Acrobat plugin within Firefox. Here are the details of my problem and how I solved it:
    1. Acrobat and Reader conflict with each other in Firefox, but this isn't totally Firefox's fault. It's mostly Adobe's fault, and they pretty much admit it. Specifically, they say that Acrobat and Reader can't coexist on the same machine unless both are version 10 or higher. They tell you to upgrade to solve the problem--but I can't afford to pay for a new version of Acrobat. If you have to keep Acrobat 9.x, Adobe says the lowest version of Reader that will work with it is Reader 11. I couldn't upgrade to this because I have Vista, and Adobe hasn't issued Reader 11 for Vista (and doesn't plan to). I did cheat and download the Win 7 version of Reader 11, but it didn't help.
    2. If you have both Acrobat and Reader, you can choose a setting in Reader to make it the default PDF handler--but Firefox ignores this information and defaults to Acrobat no matter what. (This is the part we can blame Firefox for.) If you have a version of Acrobat which is below 9.5.5, Firefox actually blocks it as a security risk, so the plugin won't work at all, regardless of version number. That's why PDFs are being downloaded through your standalone program instead of being displayed in the browser. If you want to view PDFs in Firefox and keep Acrobat on your computer, you MUST upgrade Acrobat to version 9.5.5 or above.
    3. Unless you can upgrade Acrobat to at least 10.x, GET RID OF READER. As long as you can access Acrobat 9.5.5, it will work fine in Firefox and there's no need for Reader. I never used to have Reader myself, only Acrobat, but it must have been downloaded automatically when Acrobat was blocked by Firefox (which I didn't even realize).
    4. IF YOU NEED TO UPGRADE ACROBAT 9.X TO 9.5.5, YOUR LAST CHANCE IS TODAY--6/26/13. Adobe has announced that today is the "end of life" for the Acrobat 9.x platform, and all support and upgrades will cease after today.
    When I searched for updates by going to Adobe's website, it told me there were none available--but when I checked for them FROM THE ACROBAT PROGRAM ITSELF (Help/Check for updates), I was offered a 300 MB upgrade that took me all the way from version 9.0 to 9.5.5 in one step. (It did take a very long time to download and install.)
    5. Once you have Acrobat 9.5.5, this is how to enable it in Firefox:
    a. INSIDE ACROBAT, set your preference for "Internet" to "view PDF files in browser." Close Acrobat. Close Firefox if it's already open.
    b. Reopen Firefox. Check Tools/Add-Ons/Plugins to make sure the Acrobat plugin is there. Enable it if disabled. Close Firefox.
    If the plugin isn't there at all, repair your Acrobat installation through Control Panel. Then return to Firefox and enable it. Close Firefox.
    c. Reopen Firefox again. Go to Tools/Options and check the list of file types. For the names that contain "Adobe" and "Acrobat," Acrobat should be set as the default program to open them. Select it from the drop-down list if it's not. Continue to scroll through the alphabetical list--you should see another entry called Portable Document Format. If it's there, the default will be "preview in Firefox." You should be able to change this to "Acrobat (in Firefox)" using the drop-down menu. Do NOT pick the option that says "Acrobat"--this is the standalone program and will cause your PDFs to be downloaded.
    If you don't see "Acrobat (in Firefox)" as an option, this means your plugin is not working. Go back and fix it using the instructions above (including repair of Acrobat if necessary).
    d. If you don't see a file type for "Portable Document Format" at all, that means the Firefox PDF viewer is disabled. You must enable it by editing the about:config file. To see it, type about:config in the Firefox address bar. You will get a warning message--just click OK and keep going.
    This file is a long list of statements in alphabetical order. LOOK FOR A STATEMENT THAT SAYS "pdfjs.disabled" with a Boolean value of "true." Select this statement and right-click. A context menu will offer you choices including "Toggle." Select that one, which will change the Boolean value to "false." Exit about:config. Close Firefox.
    e. Now return to Tools/Options, scroll through the list of file types, and you should see "Portable Document Format." Select "Acrobat (in Firefox)" as in the instructions above. Close Firefox.
    f. The first time you try to open a PDF file in Firefox, you may get a dialog box which offers you choices of how to open the file. The first will be Acrobat, but DON'T CHOOSE THAT--it will cause your PDF to download. Instead, go to the choice that says "Open as application/pdf." You don't need to change the program that opens this file type, because your settings are already correct. Your PDF should open in the browser, with the full-featured Acrobat menu (including the option of editing or saving the file).
    I hope other users can benefit from the truly painful experience I had figuring all of this out. Good luck.

    Since it doesn't seem like you are looking for support, locking this thread.

  • Installation of Adobe Acrobat and Adobe Reader on the same machine

    What is the recommendation from Adobe on having both Adobe Acrobat Pro/Std installed and Adobe Reader installed on the same machine?
    Is there an 'official' or 'recommended' statement for this?

    I think it is not recommended or supported for versions earlier than X.

  • Is there any difference between the reader function of Adobe Acrobat and Adobe Reader

    I would think, not.
    Also, can Adobe Reader and Adobe Acrobat be on the same computer without operational conflicts?
    I know there seemed to be an issue with both back around version 8.

    That would be a great oversimplification. But in terms of displaying PDFs, with default options, yes it will look the same. The controls won't look the same. Form filling too. But what you can do with a form (e.g. whether it can be saved) varies.

  • Can Adobe Acrobat and/or Formscentral be used to individually collect and save user data? Can user data be used to populate other forms?

    I want to collect individual user data through my site and then use that data to subsequently populate PDF forms. Can Formscentral or Acrobat Pro do this?

    There's not a built-in feature in either for this. With both FormsCentral and Acrobat, you have access to the form data, which can be used to populate a different form using Acrobat, but this is a workflow that you would have to customize and would involve some manual steps.

  • Page Setup / Printing in Adobe Acrobat and Reader

    Does anyone know why Adobe Acrobat and Reader don't retain page setup information from one document to the next? I constantly have to switch between two different paper sizes in page setup, because the information isn't retained by the individual documents.

    I would suggest creating a second instance of the printer in Windows with tray 2 as the default tray - select that printer from Acrobat.
    Control Panel > Add Printer > Create the Printer
    Control Panel > Printers > Printer Properties

  • There is some font labels that do not  appear in adobe  acrobat and appear in the reader " appear as

    there is some font labels that do not  appear in adobe  acrobat and appear in the reader " appear as  boxes" and I need to work with the acrobat  can any body help

    I don't know if your on a Mac or a PC.
    So you need to locate the Font cache file for Acrobat (make sure Acrobat is quit) and remove to Trash/Wastebasket.
    and empty. The open Acrobat back up and the font cache file should rebuild.  If your on a Mac the simpliest way is use a Utility called fontnuke and have it remove all Font caches.
    Font cahces frequently corrupt  as they are in constant use.  Mayb Windows machines have something similar as Font Nuke.

  • Before proceeding you must first launch adobe acrobat and accept the end user license agreement

    Our situation is as follows:
    - We have 300 + computers with both Acrobat Pro and Reader installed
    - When Acrobat and Reader are installed, and our users try to open a .pdf file using Internet Explorer, they are prompted to launch Acrobat and accept the EULA
    - If we uninstall Acrobat, Internet Explorer uses Reader to display the pdf.  If it is the first time the user has used Reader on that computer, they are prompted to accept the EULA for Reader, but the EULA is provided, right there.  The user doesn't have to close out of IE, open Acrobat, and then reopen IE.
    - When Acrobat is installed, if we uninstall and reinstall Reader, IE uses Reader to display the pdf
    - If we have uninstall and reinstall Acrobat, or if there is an update, IE uses Acrobat to display the pdf
    Yes, I know that the user can open Acrobat to accept the EULA, but the message still causes confusion for our users.  Always making sure that Reader is installed or updated after Acrobat isn't feasible to do on 300 + computers, nor is uninstalling and reinstalling Reader.
    Is there a way via Group Policy to force IE to use Reader instead of Acrobat?  I've looked at disabling the Adobe Reader addon in IE, but that causes the pdf to be downloaded instead of being displayed in the browser.  It's possible to disable IE addons via Group policy, but I can't pinpoint an Acrobat specific addon for displaying pdfs.
    Has anyone run into this situation before? Any suggestions would be appreciated.
    Thanks

    Hi D Sugden,
    There are two ways that you can attempt to do this.
    1.  Use the EULA_ACCEPT property at install time:
    http://www.adobe.com/devnet-docs/acrobatetk/tools/AdminGuide/properties.html
    Installation    9.0 & later    EULA_ACCEPT    YES prevents the EULA from appearing the first time the viewer is invoked. For 10.1.4, see the release notes.
    2.  Use APTEE after installation for the applications already installed
    4   Installation Workflows — Enterprise Administration Guide
    adobe_prtk --tool=Type1Exception --accept --serial=<serialNum> --responsecode=responseCode --leid=DriverLEID
    The corresponding EULA registry setting is:HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\<version>\AdobeViewer\EULAAcceptedForBrowser.
    Ref. http://www.adobe.com/devnet-docs/acrobatetk/tools/PrefRef/Windows/index.html
    Regards,
    Rave

  • I get a message saying: "Before proceeding you must first launch Adobe Acrobat and accept the End User License Agreement". HELP!!

    Hi i have an iMac with  10.9.3 and when i tried to open a PDF link or a PDF document in Safari 7.0.4  this message appears: "Before proceeding you must first launch Adobe Acrobat and accept the End User License Agreement".  What can i do to solve this?

    Back up all data before making any changes.
    Please take each of the following steps until the problem is resolved.
    Step 1
    If Adobe Reader or Acrobat is installed, and the problem is just that you can't print or save PDF's displayed in Safari, you may be able to do so by moving the cursor to the the bottom edge of the page, somewhere near the middle. A black toolbar should appear under the cursor. Click the printer or disk icon.
    Step 2
    There should be a setting in the preferences of the Adobe application such as Display PDF in Browser. I don't use those applications myself, so I can't be more precise. Deselect that setting, if it's selected.
    Step 3
    If you get a message such as ""Adobe Reader blocked for this website," then from the Safari menu bar, select
    Safari ▹ Preferences... ▹ Security
    and check the box marked
    Allow Plug-ins
    Then click
    Manage Website Settings...
    and make any required changes to the security settings for the Adobe PDF plugin.
    Step 4
    Triple-click anywhere in the line of text below on this page to select it, the copy the selected text to the Clipboard by pressing the key combination command-C:
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens by pressing command-V, then press return.
    From the folder that opens, move to the Trash any items that have "Adobe" or “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari.
    Step 5
    The "Silverlight" web plugin distributed by Microsoft can interfere with PDF display in Safari, so you may need to remove it, if it's present. The same goes for a plugin called "iGetter," and perhaps others—I don't have a complete list. Don't remove Silverlight if you use the "Netflix" video-streaming service.
    Step 6
    Do as in Step 4 with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari.

  • Repeated message "Before proceeding you must first launch Adobe Acrobat and accept the End User

    I am now getting repeated pop-ups of a dialog box that says:
    Before proceeding you must first launch Adobe Acrobat and accept the End User License Agreement.
    However, there is no menu command or preference to do so in either Adobe Acrobat Reader X version 10.1.6, or Acrobat Pro X 10.1.6 CS6 (I'm a CS6 subscriber)
    How can I make this annoying dialog go away? What caused it to start appearing?
    I'm running OSX 10.8.2 on a recent iMac, Safari 6.0.2 (8536.26.17)

    There seem to be at least two different problems.
    Some people need to run a copy of Acrobat/Reader and accept the agreement which appears (just pops up).
    Some people have something worse.
    I recommend checking in Applications to see if there are any other Adobe Acrobat or Adobe Reader apps shown, and start them.

  • What ia Adobe Acrobat and the end license?

    What is Adobe Acrobat and the end user license agreement?

    Adobe Acrobat is an application that can be used for reading, editing, and creating PDF files.  For more information, visit the product page:
    http://www.adobe.com/products/acrobat.html
    You can find the End User License Agreements (EULAs) for Adobe products on the following page.  The Acrobat family of products is almost halfway down the Page:
    http://www.adobe.com/legal/licenses-terms.html

  • I have changed my PC, deactivated Adobe Acrobat and tried to load on new PC. Got to registration and get the message " A problem was encountered while trying to send information over internet" this is 8 standard

    I have changed my PC, deactivated Adobe Acrobat and tried to load on new PC. Got to registration and get the message " A problem was encountered while trying to send information over internet" this is 8 standard
    When I try to use it to make pdf files I get the message "Missing PDFMaker files
    It is a proper copy with serial numbers

    Moving this discussion to the Acrobat Installation & Update Issues forum.

  • Excel to .pdf/ Adobe Acrobat or Adobe Forms - whatever may work best and easiest

    If we can, how, create excel formulas in either pdf or adobe acrobat or adobe forms. Something that will work in same way as it would in excel.

    Thank you for your advices.
    I already download Acrobat SDK before, but it's really complicated for someone who know only VBA at intermediate level.
    I really plan to learn javascripts and COM in future, but I was thinking that if I ask you for I guess easy think (opening files and saving them to pdf) you will help by giving similar code or some clues.
    Anyway I found  this two methods in documentation: PDDoc.Save and PDDoc.Open and I believe that a combination of them can finally help me. Do you know how I can connect them to one part?

  • I have purchased Adobe Acrobat and my order number is 281998924. My previous Sony computer which used to Windows 7 crashed. I purchased a new Toshiba computer with Windows 8. How can I download the Adobe acrobat? I assume I don't have to pay for the progr

    I have purchased Adobe Acrobat and my order number is 281998924. My previous Sony computer which used to Windows 7 crashed. I purchased a new Toshiba computer with Windows 8. How can I download the Adobe acrobat? I assume I don't have to pay for the program again? Thank you for all your help! Angelo.

    If you had purchased Acrobat Standard subscription.
    You need to download the application from below website :
    www.cloud.acrobat.com
    Sign in with Adobe ID and Password and once signed in click on Acrobat tab and download the application.
    Sign in - Adobe ID

  • Can Adobe Acrobat 8.0 read a Adobe Acrobat X Pro file?

    Can Adobe Acrobat 8.0 read a Adobe Acrobat X Pro file?

    Mostly. Are you having a problem, or just preparing?

Maybe you are looking for