1 Reply Latest reply on Aug 5, 2009 2:24 PM by Sean_Wilson

    ba open file no longer works

    oreopeewee Level 1

      I am editing a project I created in director mx.  Part of this was when the user clicks on the button the pdf file opens automatically using

      on mouseDown me

         baOpenFile (the moviePath & "esoca.pdf" , "normal")




      In the original project it works but I made changes to the content of the pdf document and now it no longer works.  Can anyone tell me what I might be doing wrong?



        • 1. Re: ba open file no longer works
          Sean_Wilson Adobe Community Professional

          Did you include the xtra with the projector?


          You really should be examining the value returned by the function for errors. Read the documentation around what the various values returned mean:

          on mouseUp me
             nReturned = baOpenFile (the moviePath & "esoca.pdf" , "normal")
            if ( nReturned < 32 ) then alert "Error opening document:" && nReturned