1 Reply Latest reply on Jul 6, 2007 6:10 AM by tyler_nelson

    html

    jimi1960
      Does anyone know how I can retrive some text from a HTML page and then the text returns to the FLASH movie, does anyone know if this is even possible.

      Thanks
      James
        • 1. Re: html
          tyler_nelson
          You need a text file named mytext.txt. In the first line of the text file you must have content=
          Create a dynamic text box with an instance name of text1. Post the following code in your actions panel.

          myLoadVar = new LoadVars();
          myLoadVar.load("mytext.txt");
          myLoadVar.onLoad = function(success)
          {
          if (success == true)
          {
          text1.htmlText = myLoadVar.content;
          }
          };