我有一个在 CS4 中创建的影片剪辑。我将它导出到我的 Flex 项目的 /lib 中,然后尝试访问文本。所有文本字段都有 ID、嵌入文本,并以智能感知显示。但是当我运行项目时,文本字段是空白的。到底是怎么回事?
编辑:它似乎只在嵌入文本时不起作用。非嵌入文本工作正常。
我有一个在 CS4 中创建的影片剪辑。我将它导出到我的 Flex 项目的 /lib 中,然后尝试访问文本。所有文本字段都有 ID、嵌入文本,并以智能感知显示。但是当我运行项目时,文本字段是空白的。到底是怎么回事?
编辑:它似乎只在嵌入文本时不起作用。非嵌入文本工作正常。
Importing text objects and fonts embedded in swfs can have any number of weird embedding errors - in my experience it takes a lot of tweaking to get things right. A few things to look at:
Hope that helps - embedded text can be a bit nasty. If you can include more code or link to a swf we could try to play around with it a bit more and give you more information.