0 Replies Latest reply on Jan 19, 2010 10:56 AM by SPromma

    Load HTML dynamically

    SPromma

      Hi all,

       

      I am new for Adobe Air and i have a simple question.

       

      I have a HTML Page that has an empty Body (<body></body>)

       

      Is it possible to write JavaScript in OnLoad-Event to load HTML (use URLRequest) to the HTMLLoader and add this HTMLLoader to the my HTML Body and display it.

       

       

      Reason:

       

      I want to load HTML from my Website and want to change some content and style (with DOM) bebore i display it.

       

       

      Could any one show me a sample code in JavaScript?

       

      Thank you very much.

      S.Promma