1 Reply Latest reply on Jan 15, 2007 3:24 PM by I tried

    load HTML


      i'm have problem.
      I'm have a code and this code creating dynamic text, and load to this dynamic text file html. But when this code is on the main time line everythings is OK. But when I'm put this code to some MoveClip then dynamic text it createing but do not load HTML why?

        • 1. Re: load HTML
          I tried Level 1
          You've got a scoping issue. In your onData call from htmlLoader, you refer to your textfield as this.mc_textFIELD. Flash is looking for a textfield within the htmlLoader. You'll want to put a reference outside the htmlLoader onData function something like this:

          var owner = this;

          this creates a reference back to your main movieclip.

          Then inside the onData function refer to your textfield like this:


          You'll be happily on your way after that