Adobe startus text chat broken @ connection setup

Posted my question here, I think I may get some better support here.
http://stackoverflow.com/questions/3453969/adobe-startus-text-chat-broken-connection-setup
^ You can look there for better actionscript formatting. ^
Called with jquery using
$("#flashtxtchat").get(0).startTxtChat()
pretty much a javascript call to startTxtChat() which causes the fail.
ArgumentError: Error #2126:
NetConnection object must be
connected. at
flash.net::NetConnection/get nearID()
at textchat/startChat() at
Function/http://adobe.com/AS3/2006/builtin::apply()
at
flash.external::ExternalInterface$/_callIn()
at ()
<?xml version="1.0" encoding="UTF-8"?>
<mx:Application height="1" width="1" verticalScrollPolicy="off" xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()" backgroundColor="#EEEEEE" verticalAlign="middle">
<mx:Script>
<![CDATA[
import flash.events.*;
import flash.external.*;
import flash.net.*;
import flash.system.*;
import mx.containers.*;
import mx.controls.*;
import mx.core.*;
import mx.events.*;
import mx.styles.*;
import mx.utils.*;
private var netConnection:NetConnection;
private var sendStream:NetStream;
private var receiveStream:NetStream;
private var strangerPeerID:String;
public function init() : void
var url:* = FlexGlobals.topLevelApplication.url;
var serverName:* = URLUtil.getServerName(url);
if (!serverName.match(/(localhost|127.0.0.1)$/))
return;
ExternalInterface.addCallback("startTxtChat", this.startChat);
ExternalInterface.addCallback("gotStrangerPeerID", this.gotStrangerPeerID);
ExternalInterface.addCallback("sendMsg", this.sendMsg);
ExternalInterface.addCallback("stopTxtChat", this.stopChat);
ExternalInterface.call("flashtxtChat_init");
return;
}// end function
public function startChat() : void
if (this.netConnection)
ExternalInterface.call("flashtxtChat_gotNearID", this.netConnection.nearID);
else
this.netConnection = new NetConnection();
this.netConnection.addEventListener(NetStatusEvent.NET_STATUS, this.netConnectionHandler);
this.netConnection.connect("rtmfp://stratus.rtmfp.net/key1-key2/");
return;
}// end function
public function gotStrangerPeerID(param1:String) : void
var _loc_3:NetStream = null;
this.strangerPeerID = param1;
var _loc_2:int = 0;
while (_loc_2 < this.sendStream.peerStreams.length)
_loc_3 = this.sendStream.peerStreams[_loc_2];
if (_loc_3.farID != this.strangerPeerID)
_loc_3.close();
_loc_2++;
this.receiveStream = new NetStream(this.netConnection, this.strangerPeerID);
this.receiveStream.play("textchat");
this.receiveStream.client = this;///temp added by me
//this.strangerVideo.attachNetStream(this.receiveStream);
return;
}// end function
public function sendMsg(msg: String) : void
sendStream.send("recvMsg", msg);
public function recvMsg(msg: String) : void
ExternalInterface.call("recvMsg", msg);
public function stopChat() : void
this.strangerPeerID = null;
return;
}// end function
public function netConnectionHandler(event:NetStatusEvent) : void
var c:Object;
var event:* = event;
switch(event.info.code)
case "NetConnection.Connect.Success":
c = new Object();
c.onPeerConnect = function (param1:NetStream) : Boolean
if (strangerPeerID == null)
return true;
return param1.farID == strangerPeerID;
};// end function
this.sendStream = new NetStream(this.netConnection, NetStream.DIRECT_CONNECTIONS);
this.sendStream.client = c;
this.sendStream.publish("textchat");
ExternalInterface.call("flashtxtChat_gotNearID", this.netConnection.nearID);
break;
case "NetConnection.Connect.Failed":
this.netConnection = null;
ExternalInterface.call("flashCb_errorConnectingToStratus");
break;
case "NetConnection.Connect.Closed":
this.netConnection = null;
this.sendStream.close();
this.sendStream = null;
if (this.receiveStream)
this.receiveStream.close();
this.receiveStream = null;
break;
default:
break;
return;
}// end function
]]>
</mx:Script>
</mx:Application>

in your function startChat(), you say
  if (this.netConnection)
            ExternalInterface.call("flashtxtChat_gotNearID", this.netConnection.nearID);
if the netConnection is in the process of connecting and startChat() gets called again, then the netConnection will not be null but will also not be connected.  you can only get the nearID if the netConnection is connected.

Similar Messages

  • Text chat with Trillian users = DSL crash every time

    Hello all,
    I'm running iChat 3.1.8 (v445) on an iBook G4 running OS 10.4.9, with a Zyxel Prestige 600 series modem.
    iChat works fine for me...until i begin text chatting with Trillian users. The result is always the same: The first time they chat with me, whether they initiate the chat or respond to my initiation, my DSL crashes. Once I wait for my DSL to cycle or switch to stealing my neighbors' wireless, it works fine for the most part, though I do experience periodic DSL crashes after the first crash.
    Every single time. I've tested this with various friends, and it is only happening with Trillian users.
    I've got my built-in firewall on, with ports 5060, 5190, 5297, 5298, 5678, and 16384-16403 open for both TCP and UDP.
    I'm logging onto an AIM account on login.oscar.aol.com on port 5190.
    TIA for any help offered.

    Hi sbcreducer,
    At one time it was possible to bring down a web server by many people getting organised and all trying to get the same page at the same time. This was called a Denial of Service attack (DoS)
    Nowadays many modems and routers have protection against this even though you may not even be allowed by your ISP to run a web server from your end. (Your own web pages for instance)
    This protection comes in about three main ways but essentially they monitor the amount of data coming to the modem or router (and request for a web page still means data in coming to make that request) and then cut the flow of data to stop you losing the internet connection.
    One method is called Stateful Packet Inspection (SPI)
    Another is Quality of Service (QoS) and lastly
    Denial Of Service (DoS).
    Now as to where this seting is on each manufacturers device is a bit of a guess.
    In these pics at Port Forwarding.com of a Linksys, in the third pic of the Linksys you can see it in Gaming and Applications as a sub tab (near Port Forwarding but to the right)
    On my Netgear it is on the WAN page and Called DOS.
    On some Netgears it is on the same page of the Setup pages but called SPI
    USing this site http://portforward.com/routers.htm you can look up your device.
    Click on it.
    At the next page select iChat from the list.
    AT the next page it will tell you the default IP address the device is likely to use and the Default USer ID and Password so you can gain access to the set up pages via a web browser.
    After that it a question of checking all the menu items to see if you have it.
    Check anything that says Filters, and Firewalls as it can be regarded as a second level firewall, as well as the places I suggested above.
    Not all device have this of course.
    7:14 PM Friday; April 13, 2007

  • Linked Adobe Tagged Text files importing without styles

    I have several data-heavy weekly publications where suddenly, the link to all Adobe Tagged Text format files have the proper paragraph styles and character styles stripped on being placed.  I'm aware of the default settings issue, where you deselect all and make sure the character styles is none, and that does not seem to be the issue. Specifics are
    Working in CS 5 (Version 7.0.4)
    The Adobe Tagged Text format files are exported from Excel spreadsheets
    The InDesign documents have links to the Adobe Tagged Text format files, and Update Link is used inside InDesign to update the text when the file is exported from the spreadsheet.
    When the publications are opened on my workstation, ALL files linked to Adobe Tagged Text files are not imported correctly, they revert to the Basic Paragraph style.
    These are not new documents I'm designing or new Adobe Tagged Text files, this is part of a production process that has worked without issue for years.
    When the same documents are opened on another workstation, and Update Links used, they come in perfectly, so it doesn't seem to be a document or file corruption problem, but a problem with my environment or ID settings.
    It's not one specific document or file, it is every single document that has a link to an Adobe Tagged Text file (and we have lots, I tried several!)
    I've opened the text files in the text editor to check them, but as I mentioned: same document, same files, I'm the only one who can't update without stripping out the styles.
    Thanks! Nancy

    Hi, Peter! Thanks for the response. Yes, it's really Tagged Text. See below. After exporting from the spreadsheet and database, opening the document in InDesign, and selecting update link, we do no editing in InDesign after the fact because everything is already setup exactly as we want it with the Tagged Text format.
    I have literally hundreds of these among several different documents, updated weekly, mainly dealing with prices and numbers. Every one of the links to Tagged Text format files in every publication now strips out the Tagged Text paragraph style and character style formatting on Update Link on my workstation only. On my other two workstations, the links update without issue, and everything is correct in the final document.
    So I'm beginning to think I need to look at rebuilding something, maybe as Joel said, replacing preferences. I keep looking for a workstation or ID option that might effect this.
    <ANSI-WIN>
    <vsn:6><fset:InDesign-Roman><ctable:=<Black:COLOR:CMYK:Process:0,0,0,1>>
    <dps:Pnl Comp\:Pnl Comp \$Numbers=<Nextstyle:Pnl Comp\:Pnl Comp \$Numbers>>
    <dps:Pnl Comp\:Pnl Comp Bold \$Numbers=<BasedOn:Pnl Comp\:Pnl Comp \$Numbers><Nextstyle:Pnl Comp\:Pnl Comp Bold \$Numbers>>
    <dps:Pnl Comp\:Pnl Group \$Numbers=<BasedOn:Pnl Comp\:Pnl Comp \$Numbers><Nextstyle:Pnl Comp\:Pnl Group \$Numbers>>
    <pstyle:Pnl Comp\:Pnl Comp Bold \$Numbers> $302 $302 $278
    <pstyle:Pnl Comp\:Pnl Group \$Numbers> 203 202 211
    <pstyle:Pnl Comp\:Pnl Group \$Numbers> 456 458 393

  • Lots of errors during basic text chat

    With Leopard iChat 4 I'm constantly getting this error during basic text chats: "An AIM service error occurred. Error: Serv:RequestTimeout". I get this constantly... practically after each line I send. I am on dial-up but have NEVER had this problem before. Reminds me of the error I might get if I send lots of lines in a row very quickly but this is just after a single line and with a long pause. No matter what I do it seems to happen making iChat nearly unusable. Nothing has changed with my set-up since my upgrade to Leopard.
    I'll add that I've noticed that I'm also losing my iChat connection to the aol server which never happened before.
    Looking around it seems others are having a variety of problems so I suppose I'm not alone but I'm posting because I did not see any mention of this exact error.

    I seem to have solved my various internet related problems (iChat was one of several) and the source problem seems to be the software provided by my dial-up isp, JUNO. The solution was to connect directly via OS X network preferences using PPP. In the past I've always used the JUNO software to connect. Earlier today it occurred to me that I have never even tired to bypass the JUNO software. Since logging on via Leopard's built in PPP I've not had any iChat errors and am also now able to send larger emails via smtp. So, perhaps in my case the culprit was an incompatibility between Leopard and the JUNO software.

  • Can text chat, but can't video chat

    Hello-
    My ichat/isight use to work just fine. I haven't changed any settings as far as I know (unless I did something inadvertently) and suddenly now I can continue to text message but I can't get the camera to connect. I send an invitation to video and once the person on the other ends accepts we each get errors saying that the video failed because the other person did not respond.
    Please any help would be greatly appreciated.
    Thanks,
    jessica
    PowerBook G4   Mac OS X (10.3.9)   airport connection

    Ralph - it's late, so I don't have any one to text chat with at the moment. But I thought I would at least trying to connect to one of the test connections again - it failed again. Here is the log from Terminal.
    Last login: Wed Jun 7 21:27:26 on console
    Welcome to Darwin!
    Jessica-Elliotts-Computer:~ Jessica$ /Applications/iChat.app/Contents/MacOS/iChat -errorLogLevel 7
    215406.650364
    VideoConferenceFramework version 188.0 - 07232004.1 - Aug 25 2004
    215406.651536 Checking H263 hardware rules
    215406.652371 Satisfied rule #4 (30:1)
    215406.671016 ### NEW STATE: to: VC_INIT, from: VC_INVALID
    215406.672719 ### NEW STATE: to: VC_IDLE, from: VC_INIT
    215406.673279 UPnP init passed
    215406.673582 NATTraversal created
    215406.673984 Bandwidth based on QT prefs = 1000
    215406.674055 Found 1 cameras:
    215406.674149 iSight - 2857630788217138
    215406.674498 Found 1 cameras:
    215406.674563 iSight - 2857630788217138
    215406.674703 selectCameraByGUID: 2857630788217138 returned 1
    215406.693878 Microphone devices:
    215406.698636 iSight Built-in
    215406.699751 Internal microphone
    215406.700532 Line In
    215406.708678 Microphone devices:
    215406.709975 iSight Built-in
    215406.710823 Internal microphone
    215406.711806 Line In
    215406.713345 Selected mic: iSight
    215406.716149 Microphone devices:
    215406.717539 iSight Built-in
    215406.718869 Internal microphone
    215406.719600 Line In
    215406.722313 Microphone devices:
    215406.723663 iSight Built-in
    215406.724483 Internal microphone
    215406.725134 Line In
    215406.725756 Selected mic: iSight
    215406.738623 UPnP Router Info:
    - manufacturer [Linksys Inc.]
    - friendly name [Residential Gateway Device]
    - model name [WRT54G]
    - model desc [Internet Access Server]
    215406.740757 UPnP: Begin TCPProc
    215406.758325 selectedCamera returned iSight
    215406.759477 selectedCamera returned iSight
    215406.766052 Found 1 cameras:
    215406.767001 iSight - 2857630788217138
    215407.775038 UPnP: TCPProc begin loop
    215430.966226 Microphone: callback thread: STANDARD; EXTENDED timeshare: 0; PRECEDENCE importance: 17
    215430.966726 Microphone: null device thread: STANDARD; EXTENDED timeshare: 0; PRECEDENCE importance: 17
    215430.990526 Microphone devices:
    215430.990601 Camera_IsDV = 0
    215430.991400 iSight Built-in
    215430.991974 Internal microphone
    215430.992028 Line In
    215430.993727 Microphone devices:
    215430.993779 Camera_IsDV = 0
    215430.993885 iSight Built-in
    215430.993986 Internal microphone
    215430.994021 Line In
    215430.994083 Selected mic: iSight
    215431.146759 UPnP Router Info:
    - manufacturer [Linksys Inc.]
    - friendly name [Residential Gateway Device]
    - model name [WRT54G]
    - model desc [Internet Access Server]
    215431.867177 SIPManager init
    215431.956286 SNATMAP Configuration Data: snatmap://snatmap.mac.com:5678
    215431.956386 acquireSNATMAPConfigurationProc: Refresh UPnP status via SIP
    215431.956839 SIPUpdateExternalInfo, force = 0
    215431.957840 Transport(UDP) Thread start...
    215431.980694 Sending SNATMAP heartbeat to 11FAF895:5678
    215432.061850 SNATMAP heartbeat resulted in IP change (from: 0 to: 45FF0198)
    215432.061923 SNATMAP heartbeat resulted in port change (from: 0 to: 5060)
    215433.141778 UPnP address = 69.255.1.152
    215434.340667 UPnP eport 5060 already mapped: retry next
    215435.541711 UPnP eport 5061 already mapped: retry next
    215435.732607 Diffusion prefilter disabled
    215435.734404 Temporal prefilter disabled
    215435.735148 startPreview returned 0
    215435.753634 Updating local frame notification.
    215436.743399 UPnP eport 5062 already mapped: retry next
    215438.971515 UPnP SendSOAPMsg got no TCP response (0)
    215438.971765 NAGetExternalMapping failed with error: -1
    215438.972407 SIPUpdateExternalInfo, force = 0
    215438.972489 SIPUpdateExternalInfo, force = 0
    215438.972660 SIPUpdateExternalInfo, force = 0
    215438.972694 count of local IP's = 2
    215438.972720 LOCAL: ifname=[external], IP=[69.255.1.152], PORT = 5060
    215438.972738 LOCAL: ifname=[en1(IPv6)], IP=[fe80:0005:0000:0000:0211:24ff:fe95:be8e], PORT = 5060
    215438.972771 LOCAL: ifname=[en1], IP=[192.168.1.111], PORT = 5060
    215438.972790 LOCAL: ifname=[en1~], IP=[63.87.254.144], PORT = 5060
    215440.600197 ### NEW STATE: to: VC_SIGNALING, from: VC_IDLE
    215440.600284 [ipAndPortData length] = 120
    215440.600327 Length is valid: YES
    215440.600453 CALLEE: ifname=[en0], IP=[17.202.32.37], wPort = 5060
    215440.600482 CALLEE: ifname=[en0(IPv6)], IP=[fe80:0004:0000:0000:020d:93ff:fe31:0974], wPort = 5060
    215440.600529 initiateConferenceCallUsingRemoteIPAndPortData
    2006-06-07 21:54:40.620 iChat[390] IPAndPortList: <CFArray 0x43468d0 [0xa01c00e0]>{type = mutable-small, count = 1, values = (
    0 : <CFDictionary 0x43e09c0 [0xa01c00e0]>{type = immutable, count = 2, capacity = 2, pairs = (
    0 : <CFString 0x884a143c [0xa01c00e0]>{contents = "ip"} = <CFString 0x473baf0 [0xa01c00e0]>{contents = "17.202.32.37"}
    1 : <CFString 0x884a1450 [0xa01c00e0]>{contents = "port"} = <CFNumber 0x472ddb0 [0xa01c00e0]>{value = +5060, type = kCFNumberSInt32Type}
    215440.702047 Public mapping: 69.255.1.152:16384
    215440.784335 Public mapping: 69.255.1.152:16385
    215440.865201 Public mapping: 69.255.1.152:16386
    215440.943920 Public mapping: 69.255.1.152:16387
    215440.970158 * Caller SDP *
    215440.971111 v=0
    o=Jessica 0 0 IN IP4 %RTP-IP%
    s=Jessica
    c=IN IP4 %RTP-IP%
    b=AS:2147483647
    t=0 0
    a=bandwidthDetection:YES
    m=audio %ARTP-PORT% RTP/AVP 12 3 0
    a=rtpmap:3 GSM/8000
    a=rtpmap:0 PCMU/8000
    a=rtpID:1546772002
    m=video %VRTP-PORT% RTP/AVP 34
    a=fmtp:34 imagesize 1 rules 30:352:288
    a=framerate:30
    a=RTCP:AUDIO %ARTCP-PORT% VIDEO %VRTCP-PORT%
    a=pogo
    a=rtpID:1210691418
    215440.971235 SIPConnect start...
    215440.971653 TAInviteClientProc Thread start...
    215440.971941 Send to 11CA2025:5060 [INVITE sip:[email protected] SIP/2.0
    Via: SIP/2.0/UDP 69.255.1.152;branch=z9hG4bK760425e872f02772
    Max-Forwards: 70
    To: "iChat User" <sip:[email protected]>
    From: "Jessica [email protected]" <sip:[email protected]>;tag=245967851
    Call-ID: bfd166da-f691-11da-8578-f8cc0bcf13c4@192-168-1-111
    CSeq: 1 INVITE
    Contact: <sip:[email protected]>
    User-Agent: Viceroy 1.1
    Content-Type: application/sdp
    Content-Length: 359
    v=0
    o=Jessica 0 0 IN IP4 69.255.1.152
    s=Jessica
    c=IN IP4 69.255.1.152
    b=AS:2147483647
    t=0 0
    a=bandwidthDetection:YES
    m=audio 16386 RTP/AVP 12 3 0
    a=rtpmap:3 GSM/8000
    a=rtpmap:0 PCMU/8000
    a=rtpID:1546772002
    m=video 16384 RTP/AVP 34
    a=fmtp:34 imagesize 1 rules 30:352:288
    a=framerate:30
    a=RTCP:AUDIO 16387 VIDEO 16385
    a=pogo
    a=rtpID:1210691418
    215441.474587 Send to 11CA2025:5060 [INVITE sip:[email protected] SIP/2.0
    Via: SIP/2.0/UDP 69.255.1.152;branch=z9hG4bK760425e872f02772
    Max-Forwards: 70
    To: "iChat User" <sip:[email protected]>
    From: "Jessica [email protected]" <sip:[email protected]>;tag=245967851
    Call-ID: bfd166da-f691-11da-8578-f8cc0bcf13c4@192-168-1-111
    CSeq: 1 INVITE
    Contact: <sip:[email protected]>
    User-Agent: Viceroy 1.1
    Content-Type: application/sdp
    Content-Length: 359
    v=0
    o=Jessica 0 0 IN IP4 69.255.1.152
    s=Jessica
    c=IN IP4 69.255.1.152
    b=AS:2147483647
    t=0 0
    a=bandwidthDetection:YES
    m=audio 16386 RTP/AVP 12 3 0
    a=rtpmap:3 GSM/8000
    a=rtpmap:0 PCMU/8000
    a=rtpID:1546772002
    m=video 16384 RTP/AVP 34
    a=fmtp:34 imagesize 1 rules 30:352:288
    a=framerate:30
    a=RTCP:AUDIO 16387 VIDEO 16385
    a=pogo
    a=rtpID:1210691418
    215442.475160 Send to 11CA2025:5060 [INVITE sip:[email protected] SIP/2.0
    Via: SIP/2.0/UDP 69.255.1.152;branch=z9hG4bK760425e872f02772
    Max-Forwards: 70
    To: "iChat User" <sip:[email protected]>
    From: "Jessica [email protected]" <sip:[email protected]>;tag=245967851
    Call-ID: bfd166da-f691-11da-8578-f8cc0bcf13c4@192-168-1-111
    CSeq: 1 INVITE
    Contact: <sip:[email protected]>
    User-Agent: Viceroy 1.1
    Content-Type: application/sdp
    Content-Length: 359
    v=0
    o=Jessica 0 0 IN IP4 69.255.1.152
    s=Jessica
    c=IN IP4 69.255.1.152
    b=AS:2147483647
    t=0 0
    a=bandwidthDetection:YES
    m=audio 16386 RTP/AVP 12 3 0
    a=rtpmap:3 GSM/8000
    a=rtpmap:0 PCMU/8000
    a=rtpID:1546772002
    m=video 16384 RTP/AVP 34
    a=fmtp:34 imagesize 1 rules 30:352:288
    a=framerate:30
    a=RTCP:AUDIO 16387 VIDEO 16385
    a=pogo
    a=rtpID:1210691418
    215442.974519 Dialog(CREATED) Match(STATUS) [bfd166da-f691-11da-8578-f8cc0bcf13c4@192-168-1-111]=[bfd166da-f691-11da-8578-f 8cc0bcf13c4@192-168-1-111], [245967851]=[245967851]
    215442.974615 TAInviteClientProc Thread end(800B0017)...
    215442.974916 SIPConnect stop(900A0014)...
    215442.974955 SIPManager connect returned 20
    215442.976040 SIPCloseCall start...
    215442.976087 (SIP.c:1295) Cannot find call ID(2)
    215442.976174 Stop heartbeat
    215442.976191 SIPCloseCall stop(800C0016)...
    215442.976216 ### NEW STATE: to: VC_IDLE, from: VC_SIGNALING
    215442.977021 SIPUpdateExternalInfo, force = 0
    215442.977552 Sending SNATMAP heartbeat to 11FAF895:5678
    215444.152791 UPnP address = 69.255.1.152
    215445.354184 UPnP eport 5060 already mapped: retry next
    215446.555668 UPnP eport 5061 already mapped: retry next
    215447.765639 UPnP eport 5062 already mapped: retry next
    215450.386237 UPnP SendSOAPMsg got no TCP response (0)
    215450.386466 NAGetExternalMapping failed with error: -1
    215450.386514 count of local IP's = 2
    215450.386547 LOCAL: ifname=[external], IP=[69.255.1.152], PORT = 5060
    215450.386566 LOCAL: ifname=[en1(IPv6)], IP=[fe80:0005:0000:0000:0211:24ff:fe95:be8e], PORT = 5060
    215450.386597 LOCAL: ifname=[en1], IP=[192.168.1.111], PORT = 5060
    215450.386617 LOCAL: ifname=[en1~], IP=[63.87.254.144], PORT = 5060
    215450.386670 sendPing: 17.202.32.37:5060
    215450.386749 Sending SNATMAP heartbeat to 11CA2025:5060
    215500.542983 Stopped using preview buffer.
    215500.543287 cancelPreview returned 0
    thanks for all the help.
    jessica

  • How to create private text chat with fms4(RTMFP)

    Hi,
    I am creating a simple text chat application but into the application a private chat functionality is available and i am not able to handle private chat functionality in fms4 (RTMFP) but it is working fine in (RTMP) connection and also user list area is available how will i  insert user name into the user list area text box and if any user will click user name then person will be able to do private chat.
    Thanks
    Sushil

    Here is the correct syntax :
    private static JEditorPane constructPane(String text, int normWidth, int normHeight, boolean rightAlign, boolean italic,boolean isWhite) {
              JEditorPane pane = new JEditorPane();
              pane.setEditable(false);
              pane.setContentType("text/html");
              pane.setText(
                   "<html><head></head><body>"
                   + (italic?"<i>":"")
                   + "<table><COLGROUP><COL width=\""+normWidth+"\"><THREAD><tr><td valign=\"top\" align="+(rightAlign?"\"right\"":"\"left\"")+">"
                   + text+"</td></tr></table>"
                   + (italic?"</i>":"")
                   + "</body></html>");
              pane.setSize(normWidth,normHeight);
              if(isWhite)
                   pane.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createMatteBorder(1,0,1,0,Color.WHITE),BorderFactory.createEmptyBorder(0,1,0,1)));
                   pane.setForeground(Color.WHITE);
              else {
                   pane.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createMatteBorder(1,0,1,0,Color.BLACK),BorderFactory.createEmptyBorder(0,1,0,1)));
                   pane.setForeground(Color.BLACK);
              return pane;
         }

  • "Join Failed" When Attempting Multi-way Text Chat

    iChat AV 3 under 10.4.5 on iMac Duo behind WRTG54 behind Adelphia Cable modem. One-on-one text chat works. Likewise one-on-one audio and video. But multi-way text (didn't test multi-audio/video) fails with "Join Failed" error as soon as I enter a second message (the very first outgoing message appears in the chat window, the second locks it up until the error is cleared).
    Curiously, I can participate in multi-way text chats that are initiated elsewhere. Tried 3 different machines, all behind the same router/modem. Tried one of those machines connected directly to the cable modem. No joy.
    Any help/ideas/troubleshooting hints very much appreciated.

    Hi Hans,
    iChat uses port 5190 on the TCP protocol to log in to AIM and text chat 1-1.
    To send files in text chats (or Pics) and doing Group (yext) Chats requires that port 5190 is also open to the UDP Protocol.
    As the router is doing UPnP this shoul be covered there.
    I would look towards the modem and how that is set up and possibly the Mac Firewall if On.
    See here for Pics and Instructions on the Mac Firewall.
    We would need to know if the modem is routing and has ports for iChat set up ?
    10:23 PM Sunday; March 5, 2006

  • Text chats drop while video chat

    Anyone experiences that text chats drop while you do video chat? In video chat I do not have any problem, but text chats become one way after few minutes of connection. I would appreciate if anyone can tell me why this happen and how to fix it.
    Thank you,

    HI Ksugaya,
    Welcome to the Apple Discussions
    It does seem at the moment that at times the AIM servers get swamped and drop connections.
    In Group chats you tend to get many posts arriving altogether without actually being dropped.
    In 1-1 chats it is difficult to judge if you have been dropped from the chat as the Buddy list is still active.
    There is no real fix for this at the moment.
    Try Direct Chat (Group with 1-1 only)
    9:50 PM Sunday; July 2, 2006

  • Text Chat

    Both client and server are running ARD 2.2.
    When I go to Text Chat sometimes it works/sometimes it doesn't! When I do text chat that is the only command running. I usually get an error message saying unable to communicate.
    Anyone else had this problem?
    Thanks.

    Nne wrote:
    Forgive me if this topic has already been raised, but the search function is not working for me at the moment.
    This may seem really stupid, but on the "orange" branded handsets i have, Facebook chat is missing.
    Going through the "people" tile i should have the option in each persons profile of "text & chat" However it is only showing me "text".
    In the conversations view, i also dont have the option of switching conversation at all.  There should be four icons at the bottom of the conversation pane, send, attach, microphone and switch conversation, but the last one is missing.
    Is this some setting i need to activate on the handsets to allow this feature?
    Turning on FB chat is a weird thing.
    In the 'Messaging' app (text msg app) at the top you should see 'thread' and 'online'. Switch to 'online' and select theicon next to the 'plus' sign; select you status.
    If you get a msg saying you need to go to FB website and setup chat, do it on a PC and not through the link theyprovide on the phone.
    Here is link that explains everything.

  • Text Chat for iOS?

    We're very pleased with FMS 4.5's new ability to stream live video to iOS devices (iPads/iPhones) as well as desktop computers using HLS and HDS streaming.  Very cool.
    In order to replace our current webcasting setup, we need to be able to incorporate a text chat alongside the video.
    Of course, a Flash application won't play on an iOS device, so I'm guessing I'll have to approach it via HTML5 or similar.
    Can anyone recommend a tutorial on building such web chat via HTML5?
    Or is there a better way to approach this?
    Thanks in advance.
    Mike

    If Video and Chat are only two things in you webcasting set up - you might try developing Native iOS Application but if you do not have experience in iOS Development it might take some skill and time.
    I found chat app based on HTML5 here : http://html5demos.com/web-socket - dont know how good it is and whether it would fit your use case.

  • Broken connection

    i have been having a broken connection using java if i do not keep typing in a chat room that use Java i jet an error message saying>>>The connection to the DigiChat server was unexpectedly broken Java.net.socket:Broken connection Reset
    i get this error regardsless of what Version of Java i used Thanks for your help
    75 south

    It looks like DigiChat is dropping your connection for you after a period of idleness.
    Again nothing much you can do except (a) keep the connection active or (b) try another cable company.
    You could try Socket.setKeepAlive(true), but this will only exchange a packet every two hours, and your cable company may be dropping the blade on you sooner than that.

  • RFC connection results in "Timeout during connection setup"

    Hello Guys,
    The RFC ABAP connection to the Solution Manager encounters connection error: "/ CPIC-CALL: 'ThSAPCMINIT' : cmRc=27 thRc=242#Timeout during connection setup."
    The Solution Manager has following details:
    SAP Solution Manager (700 15)
    ORACLE 10.2.0.2.0
    HP-UX
    The R/3 QAS Customer 1 system has following details:
    SAP R/3 Enterprise (620 54)
    ORACLE 9.2.0.8.0
    HP-UX
    The R/3 QAS Customer 2 system has following details:
    SAP R/3 Enterprise (620 59)
    ORACLE 9.2.0.8.0
    HP-UX
    The RFC ABAP connection from <SID Solution Manager> -> <SID R/3 QAS Customer 1> is working correctly.
    The RFC ABAP connection from <SID R/3 QAS Customer 2> -> <SID Solution Manager> is working correctly.
    The RFC ABAP connection from <SID R/3 QAS Customer 1> -> <SID Solution Manager> encounters connection error:
    ERROR                timeout during allocate                       
    LOCATION             SAP-Gateway on host hemisrq.services.retail.tc.services.retail.tc / sapgw01
    DETAIL               no connect of TP sapdp02 from host conssmp.servom host <host name Solution Manager> after 22
    COMPONENT            SAP-Gateway                                   
    COUNTER              1152                                          
    MODULE               gwr3cpic.c                                    
    LINE                 1820                                          
    RETURN CODE          242                                           
    SUBRC                    0                                         
    RELEASE              640                                           
    TIME                 Thu Jun  5 10:55:15 2008                      
    VERSION              2                                             
    Here's the dev_rfc0 log file
    Trace file opened at 20080605 101956 METDST SAP-REL 640,0,235 RFC-VER 3 985555
    ======> CPIC-CALL: 'ThSAPCMINIT' : cmRc=27 thRc=242                               
    Timeout during connection setup. Please check partner availability                
    ABAP Programm: RSRFCPIN (Transaction: SM59)                                       
    Called function module: RFC_PING                                                  
    User: SAPBEHEER (Client: 000)                                                     
    Destination: <SID Solution Manager>CLNT010 (handle: 2, , {4846C6DC-14A2-0F1F-E100-0000AC1B29D8})     
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 2277                                   
    CPIC-CALL: 'ThSAPCMINIT' : cmRc=27 thRc=242                                       
    Timeout during connection setup. Please check partner availability                
    HOST =<host name Solution Manager>                                                  
    SERV =sapdp02                                                                     
    Checked the error code 242 "GW_TIMEOUT" and found:
    Connection setup to the remote gateway has been closed because timeout has been exceeded.
    The time limit can be set in parameter gw/timeout.
    Changed parameter gw/timeout to value 10000, but still encounter same error message.
    From OS level <SID R/3 QAS Customer 1> i can ping the <host name Solution Manager>.
    fvb1:/home/stampg$>ping <host name Solution Manager>
    PING <host name Solution Manager>: 64 byte packets
    64 bytes from 172.27.68.239: icmp_seq=0. time=1. ms
    64 bytes from 172.27.68.239: icmp_seq=1. time=1. ms
    64 bytes from 172.27.68.239: icmp_seq=2. time=1. ms
    64 bytes from 172.27.68.239: icmp_seq=3. time=1. ms
    64 bytes from 172.27.68.239: icmp_seq=4. time=1. ms
    64 bytes from 172.27.68.239: icmp_seq=5. time=1. ms
    conssmp.services.retail.tc PING Statistics----
    6 packets transmitted, 6 packets received, 0% packet loss
    round-trip (ms)  min/avg/max = 1/1/1
    Any suggestions where to look ?
    Regards,
    Gidion

    Hello Gidion,
    can you please verify the hostnames/FQDN's? Because:
    LOCATION SAP-Gateway on host hemisrq.services.retail.tc.services.retail.tc / sapgw01
    host hemisrq.services.retail.tc.services.retail.tc
    It seems to me that somewhere the domain is double used.
    Additionally:
    Sometime there is sapgw 01, sometime sapdp 02. Can you please check the correct service numbers / system numbers?
    Regards
    Holger

  • Importing Adobe Tagged Text

    Hello,
    So here's what's happening…
    I've installed a Wordpress plugin that exports posts as Adobe Tagged Text.
    When I import, the text still shows up marked up with tags, just as it looks in the .txt file:
    <ANSI-MAC>
    <DefineParaStyle:NormalParagraphStyle=<Nextstyle:NormalParagraphStyle><cColor:Registration ><cSize:10><cLeading:11><pFirstLineIndent:12><cFont:Times New Roman>>
    <ParaStyle:NormalParagraphStyle>This <cTypeface:Italic>is<cTypeface:> a <cTypeface:Bold>test<cTypeface:>
    <ParaStyle:NormalParagraphStyle>Test paragraph
    <ParaStyle:NormalParagraphStyle>Testing this out
    Does it have something to do with the first line of code, <ANSI-MAC>?
    Regards,
    Eric

    You're using a very old InDesign workflow which I've never used. But it's referenced in Olav Kvern's and David Blatner's excellent "Real World InDesign" (I'm looking at the CS4 edition).
    On page 235, it reads, "The first characters in a tagged text file must state the character encoding (ASCII, ANSI, UNICODE, BIG5, or SJIS), followed by the platform (MAC or WIN). So the typical Windows tagged text begins with <ASCII-WIN> , and the Macintosh version begins with <ASCII-MAC> ."
    It looks to me like it should work. Have you tried exporting some tagged text from InDesign to see how it looks? File > Export > Adobe InDesign Tagged Text.

  • Adding adobe acrobat text field in crystal reports

    Currently trying to add an adobe acrobat text field to a PDF using crystal reports.  Any help would be appreciated.

    Can you explain a bit more how you want to do this?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Dropping sound in text chats

    For a few months my iChat has been dropping sound in text chats. The new message, message sent, etc. sounds are dropping (or being sent to some unknown output device). I can't figure out where/how to fix this...and it's getting worse.
    Now when iChat tries to make a sound and iTunes is playing BOTH will crash! This is INCREDIBLY annoying. There is also a popping or clicking going on...through the speakers.
    Console:
    Oct 20 12:42:16 BigMac crashdump[462]: coreaudiod crashed
    Oct 20 12:42:18 BigMac crashdump[462]: crash report written to: /Library/Logs/CrashReporter/coreaudiod.crash.log
    Oct 20 12:42:21 BigMac crashdump[461]: iChat crashed
    Oct 20 12:42:22 BigMac crashdump[464]: iTunes crashed
    Any ideas?

    Hi Demetrios,
    Ok there will be more info in Console
    Go to the Logs icon top left.
    USe the Reveal Triangle on ~/Library/logs
    Open the Crash Log
    Open the iTunes and iChat Crash logs.
    See if there is any similarities in the info contained in them. Thread 1 and Binary Images are the place to look.
    It looks like you should also look at the CoreAudio crash log. It looks like this is where the problem lies.
    This may be sorted by resetting the Micorphone choice in System Preferneces > Sound > Input tab and the Volume setting in the same Preference paene but > Sound Effect tab (for Alerts).
    You may have to delete com.apple.audio.DeviceSettings.plist
    This is found in Hard drive/Library/Preferences
    This is the Library you see when you can see the Applications folder, the System Folder and Users folder when you click on your Hard drive icon or use a Finder window to navigate to it.
    The computer may need to be restarted after this.
    Ralph

Maybe you are looking for

  • ME21N - Doc.Overview On/Off

    Hi All, ME21N :Document.Overview On/Off ->Selection Variant - CHANGES 1.Go to ME21N transaction 2.Click Document Overview On 3.Now a hierarchial ALV will be displayed 4.In that selection variant select options - Purchase Orders/PR/Contracts etc.. lik

  • CSV file Download

    Hi folks, I would like to achieve the following functionality (in order) 1. Query DB 2. Parse results returned into CSV format (perhaps, in a stringbuffer or file) 3. Return the CSV file or string to the client 4. Display a pop up window to the user

  • Z segment population in DEBMAS07

    Hi Experts, I have copied DEBMAS07 to ZDEBMAS07 and added one segment ZTAX at very last to the tree where it should be populated with some logic. I am using BADI (CUSTOMER_ADD_DATABI) to populate the node (As someone suggested). I am also done with m

  • How can i make sender address as default in ABAP code

    hi gurus, am developed a abap program to send emails. working fine i want set sendar address as default ,presently am using the following code to set sender address .but below BCMESS userid should in Sap user list then only it should working,my quest

  • T.code FBZP

    Hi All, By t.code FBZP - HOUSE BANKS: selecting an house bank and then, the folder "Bank account", in the section 'Control Data' I can see the field "Bang Group". What about it? Thanks, Gandalf