I got it !.
The problem was linked to a formatting issue of the data been sent.

//h

On 15-Jan-08, at 1:37 PM, Hugues Bruyere wrote:

> Hello,
>
> no clue about what I must be doing wrong ?
>
> Why do I need to 'close' the XML socket in order for the Java server  
> to receive the data from the swf ?
>
> Thanks,
>
> //h
>
> On 15-Jan-08, at 12:14 AM, wanderingwithoutlight wrote:
>
>> Hi,
>>
>> I'm trying to setup a really simple XMLSocket connection.
>> The SWF (the client) and the Java class (the server) are both running
>> in local on my Mac Laptop.
>>
>> I used the example in the LiveDocs to get started:
>> http://livedocs.adobe.com/labs/flex3/html/help.html?content=17_Networking_and_communications_5.html
>>
>> I'm able to make the SWF to connect to the Java server. But the data
>> are only sent when the SWF is closed. I mean when I send data using
>> "xmlsock.send(xmlFormattedData);" the data are not received by the
>> java server until I closed the running SWF. When I close the SWF I  
>> can
>> see the received data in the trace produced by the java server.
>>
>> What am I missing ?
>>
>> //h
>>
>>
>>
>> --
>> Flexcoders Mailing List
>> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
>> Yahoo! Groups Links
>>
>>
>>
>

Reply via email to