Have you checked out example given here

http://livedocs.macromedia.com/labs/1/flex/langref/index.html


Try bytesAvailable property to ensure you are reading valid Data

Neh

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Lyda
Sent: Saturday, May 27, 2006 8:03 PM
To: [email protected]
Subject: [Flashcoders] write out a ByteArray (ActionScript 3) ?

I have a ByteArray that I can't seem to get a decent output from.. 

I've tried writing out to a textField like so 
res.text += "\n myByteArray = " + myByteArray.toString();
and quite a few other things that I thought would give me a decent output,
but
nothing seems to be working.  myByteArray has a valid length.. but I can't
seem
to view the contents of it.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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

_______________________________________________
[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