【发布时间】:2011-08-10 09:18:49
【问题描述】:
您好,我将 Flex 3 项目迁移到 Flex 4:我收到以下错误:
任何人都有关于在 Flex 4 中解决此问题的想法。
1061: Call to a possibly undefined method activate through a reference with static type mx.managers:ISystemManager.
1061: Call to a possibly undefined method activate through a reference with static type mx.managers:ISystemManager.
1061: Call to a possibly undefined method activate through a reference with static type mx.managers:ISystemManager.
1061: Call to a possibly undefined method activate through a reference with static type mx.managers:ISystemManager.
1061: Call to a possibly undefined method addFocusManager through a reference with static type mx.managers:ISystemManager.
1061: Call to a possibly undefined method addFocusManager through a reference with static type mx.managers:ISystemManager.
1061: Call to a possibly undefined method addFocusManager through a reference with static type mx.managers:ISystemManager.
1061: Call to a possibly undefined method addFocusManager through a reference with static type mx.managers:ISystemManager.
1061: Call to a possibly undefined method removeFocusManager through a reference with static type mx.managers:ISystemManager.
1061: Call to a possibly undefined method removeFocusManager through a reference with static type mx.managers:ISystemManager.
1061: Call to a possibly undefined method removeFocusManager through a reference with static type mx.managers:ISystemManager.
1061: Call to a possibly undefined method removeFocusManager through a reference with static type mx.managers:ISystemManager.
1144: Interface method addPopUp in namespace mx.managers:IPopUpManager is implemented with an incompatible signature in class mx.managers:PopUpManagerImpl.
1144: Interface method addPopUp in namespace mx.managers:IPopUpManager is implemented with an incompatible signature in class mx.managers:PopUpManagerImpl.
1144: Interface method addPopUp in namespace mx.managers:IPopUpManager is implemented with an incompatible signature in class mx.managers:PopUpManagerImpl.
1144: Interface method addPopUp in namespace mx.managers:IPopUpManager is implemented with an incompatible signature in class mx.managers:PopUpManagerImpl.
1144: Interface method createPopUp in namespace mx.managers:IPopUpManager is implemented with an incompatible signature in class mx.managers:PopUpManagerImpl.
1144: Interface method createPopUp in namespace mx.managers:IPopUpManager is implemented with an incompatible signature in class mx.managers:PopUpManagerImpl.
1144: Interface method createPopUp in namespace mx.managers:IPopUpManager is implemented with an incompatible signature in class mx.managers:PopUpManagerImpl.
1144: Interface method createPopUp in namespace mx.managers:IPopUpManager is implemented with an incompatible signature in class mx.managers:PopUpManagerImpl.
感谢您的帮助。
【问题讨论】:
-
你最好列出编译器错误突出显示的行。
-
@Constantiner 通常像这样的错误没有行号,并且与库和主项目之间的版本不匹配有关。 (见我的回答)。如果您因缺乏细节而对 b/c 投了反对票,我建议您删除您的反对票,因为老实说,我相信原始海报没有更多额外的细节可提供。
-
@www.Flextras.com 不,我没有投反对票,我认为这些错误没有特定的行,但我认为如果主题启动者指出这一事实会更好:)
-
@Constantiner 我讨厌人们投票反对而没有说明原因。 ;)
标签: apache-flex flex3 flex4 migration compiler-errors