2011-08-10 49 views
1

こんにちは私は、Flex 4に私のFlex 3プロジェクトの移行:移行のFlex 3からのFlexへ4つのエラー

誰でも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. 

Flexでこれを修正についてのアイデアを持っている:私はこれらのエラーを取得していますご協力いただきありがとうございます。

+0

コンパイラのエラーでハイライト表示された行をリストする方がよいでしょう。 – Constantiner

+0

@ Constantiner通常、このようなエラーは行番号がなく、ライブラリとメインプロジェクトの間のバージョンの不一致に関連しています。 (私の答えを見てください)。細部の不足のb/cをdownvoted場合、私は正直に元のポスターが提供する追加の詳細を持っていないと思うので、あなたはdownvoteを削除することをお勧めします。 – JeffryHouser

+0

@ www.Flextras.comいいえ、私はdownvotedしなかったと私はこれらのエラーは特定の行を持っていなかったと思ったが、私はトピックスターターがその事実を指摘した場合、より良いと思った:) – Constantiner

答えて

3

このようなエラーは、通常、バージョンの不一致の問題が原因です。したがって、すべての外部ライブラリがメインプロジェクトと同じバージョンのFlex SDKでコンパイルされていることを確認してください。

Web上にあるフレームワークや他のライブラリを使用している場合は、ソースコードが利用可能であれば、自分で再コンパイルする必要があります。

+0

こんにちは、 実際、flex 3プロジェクトにはPopUpManagerImpl.asというクラスがあります。このファイルから、これらのエラーがすべて発生しています。 可能であれば、これにいくつかの光を当ててください。 ありがとうございました – FlexyBoz

+0

@FlexyBoz私はすでに言った以外のあなたに電話する他に何がわかりません。この問題は通常、特定のクラスがエラーをスローすることには関係しません。これは通常、メインプロジェクトとは異なるバージョンのFlex SDKでコンパイルされているライブラリに関係します。私が知っている限りでは、これをなくすために変更できるコードはありません。同じバージョンのFlex SDKを使用するようにライブラリを再コンパイルする必要があります。 – JeffryHouser

+0

あなたは正しいです。 あなたに仲良し。 – FlexyBoz