- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hello,
I compiled the code bellow with the two .swcs that are given in the AFCS SDK Navigator Air application (player9 and player10)
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:rtc="AfcsNameSpace" >
<rtc:AdobeHSAuthenticator id="authenticator" userName="your login" password="your password" />
<rtc:ConnectSessionContainer id="connectSession" width="100%" height="100%"
roomURL="your room url" authenticator="{authenticator}" >
<rtc:SimpleChat id="chat" width="100%" height="100%" />
</rtc:ConnectSessionContainer>
</mx:Application>
So that's just a SimpleChat instance right in the ConnectSessionContainer, nothing really adavanced, just the basics
I also recorded a video of my screen, to show you exactly what is happening, that is, when the enter key is pressed in the SimpleChat instance the text does not get cleared,
You can view this video here : http://vimeo.com/5813985
or here : http://www.punkscum.org/stuff/simplechat_example.ogg
so far I tested this on Windows XP and Ubuntu Linux 9.0.4 and I have the same result, I'm going to go ask a friend to test and compile this on his Mac, but for me the, the "behavior" is the same ...
I also checked the source, and in the com.adobe.rtc.pods.SimpleChat class, in the sendNewMessage method, adding,
callLater( function():void { _newMessage.text = ""; } ) fixes this issue.
I'm not complaining, I just think that if the text is cleared when we click the "send" button, it should be also cleared, when we press the "enter" key in the chat's text input.
Thanks
Julien
Views
Replies
Total Likes