A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: byte array in Flash

  1. #1

    byte array in Flash

    Hi All,

    I am developing a client server application where my server is built in Java and client in Flash MX. I am using xml socket for my connection. Now the problem is my server is sending me data in byte array format where the data is in xml format. My flash client is not able to read the data as it is sent in byte array. When I am sending the data as string it's cool.

    Can anyone tell me is it possible to read byte array in Flash? If so then how?

    Thanks in Advance....

    Amit
    Amit Majumdar
    Flash Developer
    WebSite | My Location | amit2601@yahoo.com

  2. #2
    www.intensewd.com
    Join Date
    Apr 2002
    Location
    Australia
    Posts
    450
    Hi,

    Send the data as a comma-delimited string and then split it to create the array.

    Cheers,
    Ben

  3. #3
    but for security and other reasons I need the data to be in byte array only.

    If you have any solution please tell me.

    Thanks

    Amit
    Amit Majumdar
    Flash Developer
    WebSite | My Location | amit2601@yahoo.com

  4. #4
    www.intensewd.com
    Join Date
    Apr 2002
    Location
    Australia
    Posts
    450
    What if you have the server send the data to flash as a byte array, and then flash sends that data to another script that convertes it to a string?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center