1 Reply Latest reply on Jun 5, 2009 2:03 PM by gkaiseril

    cannnot Doc.insertPage through Acrobat Pro running in Browser


      I am currently developing a flex air app, that will work with acrobat pro through the HTML object in Flex, at the moment im using folder level script

      to create two ToolButtons of mine, the frist tool button will insert a PDF from the file system, when i do this through Acrobat Alone it works, but

      when in my flex air app it throws the following error.


      RaiseError: File does not begin with '%PDF-'.
      Doc.insertPages:143:App toolStart:Exec
      ===> File does not begin with '%PDF-'.


      The only thing i can think of is that because its running in a browser container in flex, some how this file is getting wrapped with nonsense.


      Can anyone assist!