如何从根访问影片剪辑上的动态文本?

How to access dynamic text on movie clip from root?

我今天使用相同的 class,基于 http://code.tutsplus.com/tutorials/countdown-in-style-with-an-airport-terminal-timer--active-4056,但是当更改值时,如果零不同,则数字不显示。我如何访问 t_num 并从根目录更改它们?

我有 16 个实例:Digit0、Digit1、Digit2 等...

每一秒,我都会验证一个值,然后更改(如有必要)...使用下面的代码:

if (var1!= this['digit15'].number){
  this['digit15'].flipTo(var1);
}

在我的舞台上,路径如下:

stage.root1.digit14.bottom2.t_num

仅在 var1 = 0 时有效

@CuddleBunny 回答很好。

If 0 is the only text in your field when you compile and other values do not appear dynamically, you may need to embed the font. – CuddleBunny yesterday