7 Replies Latest reply on Oct 27, 2008 8:33 AM by George_Johnson

    'NotAllowedError:' - when trying to import a picture in acrobat reader v7

      Hi

      I am desperately trying to create a pdf template that people can use in Acrobat Reader V.7 - V7.1. I want the functionality that enables the user to click on a placeholder button/area and it will bring up the dialogue box enabling them to navigate to a picture file and insert it.

      I found this code on another forum which I attached to a button;

      event.target.buttonImportIcon();

      - and it works fine in acrobat Pro - but on Acrobat Reader - even after enabling usage rights it is throwing up an error;

      NotAllowedError: Security settings prevent access to this property or method.

      I believe there may be a way round this using a trusted function - but I am a complete novice when it comes to Javascripting and wondered if anybody could advise?!

      Thanks

      Jason