1 Reply Latest reply: Aug 20, 2012 7:03 AM by dan_hin RSS

    Displaying PDF content in Adobe Air 3.2

    dan_hin Community Member

      Hi all,

       

      I'm trying to render a locally stored sample pdf using Air 3.2 on Win7 64bit.

       

      I'm not getting any error messages and I'm pretty sure the content is being loaded.. but the actual content of the pdf is not displayed when I add it to the stage.

       

      I just get a white screen in the app.

       

      I haven't explicitly scaled or rotated the content, just set the width and height of the html component as directed in the livedocs.

       

      Dan

        • 1. Re: Displaying PDF content in Adobe Air 3.2
          dan_hin Community Member

          Solved.

           

          For some reason I couldn't access the HTMLLoader object outside of the function that initialised it, despite the fact that I was listening for EVENT_COMPLETE.

           

          Basically, to get round this bug, just put all the initialise and load code in the same function and you should be laughing.