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.
是否可以使用实例名称作为属性名称将影片剪辑编译为 swc?当我添加动态文本字段时会发生这种情况,但我也希望在某些 UI 元素上这样做。
勾选符号属性中的“Export for ActionScript”框并为其命名。这将使它出现在swc中。
因此,如果您有一个Car包含剪辑的Driver剪辑,则需要在这两个剪辑上选中“导出为动作脚本”。 如果您随后为Driver剪辑指定一个实例名称,它将显示为您的Car.
Car
Driver