1000: 对 setStyle 的引用有歧义。

项目开发中遇到一个错误: "1000: 对 setStyle 的引用有歧义。"
直接原因就是下面的backgroundColor="0x5f5f5f"


Runtime Errors 中查到:
Code: 1000
Message: The system is out of memory.
Description: Flash Player needs more memory to compile your code than your system has available. Close some of the applications or processes running on your system.

重启FlexBuilder仍然出错,最后只能单独写一个Component,然后再引用一下,居然就没有错误了.
可能是FlexBuilder的bug吧,重建了一个project也没有重现,看来是我中奖了.

Share

1 条评论

  1. Michael 的头像 Michael 说:
    我觉得问题出在0x5f5f5f,改成#5f5f5f应该就没有问题。

留下评论