TextField text not showing up after change

I’m working on a math game where num.text (a number within a textfield) starts as a random number and shows up on top of a bitmap. Once the number is changed, it no longer shows up (on top of or behind the bitmap). I do a trace, and see that the number indeed changes, but it is not displayed on screen. Any thoughts?