Dynamic text field variables

Folks,

I have a movie where a variable named daysleft will be loaded from an external text file into a dynamic text box, this bit works fine.

But I then need the movieclip “numbers” to gotoAndStop to the frame number imported via the variable daysleft. Although daysleft displays on the screen a trace(daysleft); says the variable is undefined.

Any idea how I can acheive what I’m trying to do.

Cheers all.