40k limit

if you know you're going to be breaking that, consider using an Object2XML
converter, do a toString on the XML, break it up into 5k chunks and put
those chunks into an array.  Then loop the array and send each chunk across
with a boolean that indicates that the last batch has been sent.  THen, on
the other end, store the chunks in an array until you get "lastBatch=true"
and paste it all together as a string and assign it to a new XML object.
Convert back to Object if need.

this kinda shows you what I mean:
http://mirror1.cvsdude.com/trac/osflash/xray/browser/DEV_Source/xray/classes/com/blitzagency/xray/ControlConnection.as#L272

hth,

jpg

On 8/25/06, eric dolecki <[EMAIL PROTECTED]> wrote:

Make sure you aren't sending too much data across the localConnection, or
it
shall break unceremoniously. I forget the limit, but there is indeed a
limit.

On 8/25/06, Rutul Patel <[EMAIL PROTECTED]> wrote:
>
> hi people,
> I was creating local connection between two swf file,
> first time it works fine and then after sometime it stops working,
> then i change connection name(target name in both file) and it starts
> working again,
>
> can anyone tell me why this happen.
>
> --
> Regards,
> Rutul Patel
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
[  JPG  ]
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to