flex で swiz フレームワークをセットアップしようとしていますが、コンパイルできないようです。swiz 0.6.2 と flex 3.0.2 を使用しています。swc は、flex プロジェクトの libs ディレクトリにあります。
ここのチュートリアルに従っています: http://code.google.com/p/swizframework/wiki/DefiningApplicationComponents
そして私のコードは次のようになります:
Swiz.mxml --
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute" width="100%" height="100%"
preinitialize="onInitialize()">
<mx:Script>
<![CDATA[
import org.swizframework.Swiz;
private function onInitialize() : void {
// load up swiz beans
Swiz.loadBeans( [ Beans ] );
}
]]>
</mx:Script>
<!-- rest of view -->
</mx:Application>
Beans.mxml --
<?xml version="1.0" encoding="utf-8"?>
<BeanLoader xmlns="org.swizframework.util.*" xmlns:mx="http://www.adobe.com/2006/mxml">
<!-- custom channel set -->
<DynamicChannelSet id="myAmfChannel">
<serverPort>8080</serverPort>
<contextRoot>/demo-web</contextRoot>
</DynamicChannelSet>
<!-- user service -->
<mx:RemoteObject id="userService"
destination="userService"
channelSet="{myAmfChannel}"/>
</BeanLoader>
コンパイルしようとすると、静的型クラスの参照を介して未確認のメソッド loadBeans というエラーが発生します。何かご意見は?