1 Reply Latest reply: Jan 13, 2009 1:52 PM by BrianatArena RSS

    Dynamic Text box on timeline.

    BrianatArena Community Member
      If I put a dynamic text box on frame 1 and fill it with a variable it works fine. If I move the box on the timeline so that it does not exist until frame 10 it does not get filled in. What should I do to get that dynamic text box to work correctly on frame 10 just like it did on frame 1? Thanks
        • 1. Re: Dynamic Text box on timeline.
          BrianatArena Community Member
          I found that I can put the AS on the same frame as the Dynamic text and that works, But if I do that for all my text boxes it's going to get messy. Is there a way to put all the AS on frame one that fills in dynamic text boxes later on in the timeline? this is my AS that grabs variables from a php page:

          var loader:URLLoader = new URLLoader();
          loader.dataFormat = URLLoaderDataFormat.VARIABLES;
          loader.addEventListener(Event.COMPLETE, loading);
          loader.load(new URLRequest('mypage.php'));
          function loading (event:Event):void {
          gameTitle.text = loader.data.tvgametitle1