Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在舞台上有这个动态文本字段,我想从我的 xmlloader 类中访问它,这样它就可以显示我的 xml 文件中的文本。我只是想不出办法。
我找到了答案:
MovieClip(root).thetextfieldonstage.text = "yep";
可以从类中调用文本字段。