4 Replies Latest reply on Jun 4, 2012 5:30 PM by JBonavita

    TextField object null after frame changes

    JBonavita Level 1

      I have a dynamic TextField on a seperate layer so it appears in the frames I want. I can access the object from AS 3 and changes its text without a problem. Once the frames changes from 3->4->3 I can no longer access it. I get a null error.


      I'm making the change in another class:

      (root as MovieClip).lblScore.text = this.score.toString();


      If I look at root it shows that lblScore is null. This same line excutes fine prior to the frames changing.