私はこの例に従おうとしました: http://coenraets.org/blog/2010/07/video-chat-for-android-in-30-lines-of-code/しかし、何時間も検索してもエラーが発生しますWeb 上のソリューション。
Adobe Flash Builder 4.6 と Flex 4.5.1 SDK を使用しています。LifeCycle Collaboration Service もインストールし、プロジェクトのビルドパスに lccs.swf を追加しました。
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:rtc="http://ns.adobe.com/rtc" currentState="logon" fontSize="28">
<fx:Script>
[Bindable] private var roomURL:String = "URL HERE!";
protected function connect():void {
auth.userName = userName.text;
currentState = "default";
session.login();
}
</fx:Script>
<s:states>
<s:State name="default"/>
<s:State name="logon"/>
</s:states>
<fx:Declarations>
<rtc:AdobeHSAuthenticator id="auth"/>
</fx:Declarations>
<s:TextInput id="userName" includeIn="logon" top="200" horizontalCenter="0"/>
<s:Button label="Connect" click="connect()" includeIn="logon" top="250" horizontalCenter="0" height="50" width="150"/>
<rtc:ConnectSessionContainer id="session" roomURL="{roomURL}" authenticator="{auth}" autoLogin="false" width="100%" height="100%" includeIn="default">
<rtc:WebCamera top="10" left="10" bottom="10" right="10"/>
</rtc:ConnectSessionContainer>
</s:Application>
コンパイラは次のように述べています。
「ConnectSessionContainer」宣言は、デフォルト プロパティの要素タイプ「mx.core.IVisualElement」に割り当てることができないため、タグ内に含める必要があります。
私は Flex をまったく初めて使用するので、これに対する簡単な解決策があれば、私を殺さないでください。前もって感謝します!