Writing a new book : What can you do with bytes ? by Thibault Imbert

What can you do with bytes ?Writing the previous book was a very interesting experience. A few days ago, I decided to start the writing of a new book called "What can you do with bytes in ActionScript 3 ?"

The idea is to cover different topics (through 7 chapters) related to binary and discover some cool things you can do with it in ActionScript 3.

This book will be free and available as a downloadable PDF like the first version of "Pratique d'ActionScript 3". I will write it in English so that everybody can read it (this time!) :)

English reviewers will be very welcome to improve my English through the chapters ! :)

Download :

Chapter 1 - The first bits
Chapter 2 - Everyday bytes
Chapter 3 - Encoders
Chapter 4 - Parsers
Chapter 5 - Low-level networking
Chapter 6 - External devices
Chapter 7 - Emulators

Comments (76)

  1. Tek wrote::

    It’s really a good thing, the Flash community is not used to work with bytes regarding to the history of the language and its context. I hope you will have the time to make it as simple as possible. Good luck.

    Sunday, April 26, 2009 at 12:23 am #
  2. Tek wrote::

    I not have read it will be published free, your our hero Thibault, I’m so proud of you!

    Sunday, April 26, 2009 at 12:32 am #
  3. Thibault Imbert wrote::

    lol, thank you Tek!

    Sunday, April 26, 2009 at 12:33 am #
  4. yuku wrote::

    Looking forward to reading this book since the last book is in a language I don’t understand!
    (I’m from Indonesia)

    Thanks so much ^^

    Sunday, April 26, 2009 at 12:36 am #
  5. Palleas wrote::

    Can’t wait to read it !

    Sunday, April 26, 2009 at 1:18 am #
  6. Cay wrote::

    Awesome! looking forward to it :D

    Sunday, April 26, 2009 at 2:37 am #
  7. Jloa wrote::

    Yahooooo (no an ad :)
    Thibault, thx a lot! So glad 2 c that u’ve decided to make an eng translation thx ^_^

    Sunday, April 26, 2009 at 2:52 am #
  8. Xeonarno wrote::

    I love you

    Sunday, April 26, 2009 at 8:38 am #
  9. Pedram wrote::

    it’s good work.
    I’m waiting for publish day ;)
    tnx

    Sunday, April 26, 2009 at 8:49 am #
  10. maru wrote::

    I don’t see any chapter covering the art of cooking macarons, I’m really disappointed ;)
    btw I think you’re crazy, but I’m impatient to read it, since I can’t speak with 0 and 1 for the moment !

    Sunday, April 26, 2009 at 10:06 am #
  11. Looks like a really good idea – i’ll be buying for sure, presumably jpeg, png encoders will be in the encoder section. How about squeezing a full chapter on AlivePDF in there next to encoders.

    Sunday, April 26, 2009 at 2:51 pm #
  12. Thibault Imbert wrote::

    Hi David,

    AlivePDF will be covered in the encoders chapter for sure, but I don’t think it will take a whole chapter, well, we’ll see :)

    Thanks!

    Thibault

    Sunday, April 26, 2009 at 2:54 pm #
  13. np labs wrote::

    can’t wait to read it and find what treasures it holds ;)

    Sunday, April 26, 2009 at 5:08 pm #
  14. Alan wrote::

    Really looking forward to this new book. Thank you for dedicating so much of your time to share your knowledge and help others.

    Sunday, April 26, 2009 at 7:42 pm #
  15. glimglam wrote::

    Sounds interesting!

    English is not my native language, but I do work as a technical writer and, if needed, I would be happy to help out with the reviewing part.

    Sunday, April 26, 2009 at 8:59 pm #
  16. Rezmason wrote::

    This looks really good.

    You know what’d make a good Flash workshop? One on technical writing. I’d love to write me a book. B)

    Sunday, April 26, 2009 at 11:41 pm #
  17. rsturk wrote::

    I can’t wait to read it. Thanks for writing it in English.

    Monday, April 27, 2009 at 12:21 am #
  18. Kispik wrote::

    Bonsoir, j’aimerais savoir si tu peux m’aider.
    J’ai récupéré les sources du SDK 3.3.0, j’ai un soucis lorsque je rajoute un mxml dans le package mx.controls, je l’ai vois pas dans mon projet. Pourrais tu m’aider S’il te plait ?

    Monday, April 27, 2009 at 12:50 am #
  19. I am super excited about this! Always really wanted to learn about how bytes work in AS3, and all the topics you have are so very interesting! Thanks so much for doing this :-D And for making it free and well in English :-P

    Monday, April 27, 2009 at 1:16 am #
  20. Tek wrote::

    Oh yes, this time I want to review the book myself too!

    Monday, April 27, 2009 at 1:19 am #
  21. walktree wrote::

    ByteArray is really powerful,thank you for your great work!

    Monday, April 27, 2009 at 5:03 am #
  22. Nishant wrote::

    Hey. Eager to see the book and will be glad to review :-)

    Monday, April 27, 2009 at 6:45 am #
  23. mad wrote::

    Bonsoir,il sera cool de voire mp3 et flv parmi les sujet traites , specialement dans les chapitres Encoders , parsers.
    Anyway ..merçi pour tt ;)

    Monday, April 27, 2009 at 7:39 am #
  24. Goach wrote::

    tu iras au paradis mec !

    Monday, April 27, 2009 at 12:17 pm #
  25. warsiz wrote::

    big up mate !!! :o )
    thx for all

    Monday, April 27, 2009 at 1:39 pm #
  26. Romain wrote::

    You’re the one !

    Thanks you so much for all your really great work ;)

    Is there a Thibault Fan’s Club somewhere ? ^_^

    Monday, April 27, 2009 at 9:26 pm #
  27. Thibault, send me an email about reviewing when you get to that point… I’ve technical edited two recent Flash-related O’Reilly titles.

    Tuesday, April 28, 2009 at 4:04 am #
  28. nwebb wrote::

    Love the idea. Please feel free to get in touch when you get to the reviewing stage :)

    Tuesday, April 28, 2009 at 4:15 pm #
  29. Justin Putney wrote::

    Sounds great! Can’t wait to read it.

    Tuesday, April 28, 2009 at 7:52 pm #
  30. darien wrote::

    i’m damn over excited for this book!

    Wednesday, April 29, 2009 at 12:47 pm #
  31. You must be heaven sent. That would be most welcomed. Thanks for the effort.

    I was considering learning that aspect of AS3, covering topics such as AMF, Sockets, Bits and Bytes, Pixel/Color manipulation, Compression etc.

    You were clearly able to identify the need for such a resource,.

    Wednesday, April 29, 2009 at 5:27 pm #
  32. Philip wrote::

    Good idea!

    You could write something about sound synthesis too (:

    Can’t wait

    Wednesday, April 29, 2009 at 7:59 pm #
  33. Fabien wrote::

    Il se s’arrêtera donc jamais ! La plume le code, l’open source et Thibaut une symbiose parfaite

    Thursday, April 30, 2009 at 3:08 pm #
  34. Boris wrote::

    You are one of the best things that happened to ActionScript community in years… especially for average programmers like me. Thank you!

    Thursday, April 30, 2009 at 3:15 pm #
  35. Milos wrote::

    Cool!

    I run on problem when you flush() some data from socket and then if you want to stop sending that data, it seams that it’s imposible. close() method will only disconnect client but data continue to go over wire even if you close application (I tested it with wireshark). I googled and found that many developers have the same issue, but there is no answer how to solve it. Also there is no explination of this in Adobe’s docs. So many of us would appriciete very much if you can include explination of this issue in your book. Thank you.

    Thursday, April 30, 2009 at 8:22 pm #
  36. David Jumeau wrote::

    Very nice Thibault! I don’t mind the French thought because there are not that many French Actionscript materials out there. I live in Montreal where it is pretty much bilingual, and so it is very helpful to have some French Actionscript and Flash terminology so that I can explain it to our francophone developers and designers. :D

    Saturday, May 2, 2009 at 2:00 am #
  37. Thibault Imbert wrote::

    Hi David,

    That’s very cool to hear !

    Thibault

    Saturday, May 2, 2009 at 2:03 am #
  38. Tkitek wrote::

    Someone has said : FOREVER is made of lot of NOWs… I say : you are making our FOREVER stuff your NOWs… thank you Rivers (ton petit rongeur des prairies ! )

    Tuesday, May 26, 2009 at 4:13 pm #
  39. Tony wrote::

    Salut Thibault,

    Quelque chose que j’aimerais trouver dans les api Camera et Microphone : la possibilité d’avoir accès aux données binaires de la capture. Ceci afin d’implémenter des protocoles comme SIP (Session Initiation Protocol, utilisé dans le domaine de la téléphonie sur ip) directement en as3 avec Socket.

    Actuellement, certaines sociétés comme Ribbit ou TringMe permettent d’avoir des softphones web flash mais ils utilisent un serveur FMS pour accéder aux packets entre le client et le serveur final de toIP (Asterisk, par exemple). On a donc ici un intermédiaire superflu (fms) qui de plus est couteux en bande passante car le protocole de transfert pour fms est TCP comme tu sais…

    Des infos par rapport à çà ?

    @+

    Saturday, June 6, 2009 at 3:58 pm #
  40. Clemente G wrote::

    This would be great. There are NO good resources on byteArrays at all and that sucks. I can’t wait for this release. Any ETA on release date yet??

    Sunday, June 7, 2009 at 11:50 am #
  41. Doug wrote::

    Keep me posted T! I would love to help with any reviews.

    Nice work

    Wednesday, June 10, 2009 at 11:54 am #
  42. Indelebil wrote::

    Mon anglais est trop pauvre!!!

    Ca faisait longtemps que je cherchais des infos plus spécifiques sur la manip des bytes avec Flash. Ton premier bouquin nous a déjà bien aidé, mais un livre spécifique, ce serait vraiment terrible.
    Impatient que çà sorte…

    J’aimerai t’envoyer un lien sur une appli AIR (en cours de développement) pour faire du montage vidéo.
    Tiens moi au courant…
    ++

    Tuesday, June 16, 2009 at 7:48 pm #
  43. Thomas wrote::

    Thibault, would you mind to give a rough estimate when one or several chapters will be made available? I, like many others, will be very happy to read more about this topic.

    Merci beaucoup!

    Thursday, October 1, 2009 at 2:07 pm #
  44. jimb wrote::

    Thibault
    Please, add me to your list of English reviewers!

    Friday, October 9, 2009 at 8:43 pm #
  45. 7heaven wrote::

    looking forward to it!

    Thursday, November 12, 2009 at 5:34 am #
  46. kevin wrote::

    Howdy, Thibault, will the new job impede production of this book? (By the way, congrats on the new job working on the flash player :)

    If you would like another English reviewer, I would love to help out. Like others, I find there is very little information on Byte-Arrays so a book like this would be perfect.

    Congrats and good luck!

    Thursday, February 25, 2010 at 10:38 pm #
  47. Thibault Imbert wrote::

    Hi Kevin,

    Thanks! :)

    Funny you post this right now, I am currently back on it. I was busy working on the optimizing guide and now I have some more time to work on it.

    I will post an update about its current status very soon.

    best,

    Thibault

    Thursday, February 25, 2010 at 11:26 pm #
  48. sami wrote::

    Hi I need this book NOW :D
    Just wanted to learn about Bytes in AS3.
    - Why is it in French ……..

    Wednesday, March 24, 2010 at 12:43 pm #
  49. esedeerre wrote::

    Thank you very much!!!!

    Friday, April 9, 2010 at 3:44 pm #
  50. warsiz wrote::

    you’re the one dude !!!

    Friday, April 9, 2010 at 4:15 pm #
  51. Good thing !

    What is the purpose of the Chapter 5 – Low-level networking ?
    You want to talk about the new features of AIR2 About Server Socket ?
    Or it’s an other new – undisclosed – features of Adobe concerning the access of the layer 3 or 2 of the OSI Model ? Like Packets or Frames ?

    Armetiz.

    Friday, April 9, 2010 at 4:23 pm #
  52. l'ohm collectif wrote::

    great! bravi

    Friday, April 9, 2010 at 5:42 pm #
  53. Leandro Zanol wrote::

    Hi man, I want to congratulate you for sharing all of your knowledge and experience!
    God bless you.

    Friday, April 9, 2010 at 6:31 pm #
  54. jim wrote::

    I am new to use byteArray.
    Thank you for your wonderful book

    Saturday, April 10, 2010 at 7:07 am #
  55. A. Traikov wrote::

    It’s a great book. Looking forward to see the next chapters.
    Cheers

    Saturday, April 10, 2010 at 11:50 am #
  56. senthil kumaran wrote::

    There are only a few intellectual as well as good hearted human beings like Thibault Imbert. Cheers……. man.

    Saturday, April 10, 2010 at 2:49 pm #
  57. MatD wrote::

    Bravo Thibault! Good book idea, and chapter 1 is clear and precise. I’m really interested in reading the chapter 7 about emulators. This will surely give us new ideas and perspective using Actionscript.

    Merci de partager tout ce savoir avec la communauté ;-)

    Sunday, April 11, 2010 at 1:28 pm #
  58. iGman wrote::

    Thibault Imbert, You Rock!

    Monday, April 12, 2010 at 11:45 pm #
  59. Thibault Imbert wrote::

    Hi guys,

    I am happy to hear that you like it, Chapter 2 is on its way!

    best,

    Thibault

    Tuesday, April 13, 2010 at 6:49 pm #
  60. Stef wrote::

    hey , toujours de l’aussi bon boulot , continue et merci …. heureux que tu ai su me transmettre ton savoir et ta passion pour flash en formation …

    Thursday, April 15, 2010 at 11:32 am #
  61. Santosh wrote::

    You truly rock

    Wednesday, April 21, 2010 at 7:01 am #
  62. Michael Michailidis wrote::

    Hey man, thank you so much for this wonderful resource. It is exactly what we need to take Flash on a new level.

    Since you are also after feedback, I was reading the first chapter and noticed that the (~) operator was written as a one’s compliment operator while it looks like it’s a two’s compliment since it increments the value by one.

    PS. Not to rush, when do you think you will have the rest of the chapters written. I am involved in a project that would absolutely benefit from your knowledge.

    Thursday, April 22, 2010 at 12:36 pm #
  63. jason olmsted wrote::

    Just started reading this, but something caught my eye early on. You often refer to the “less significant bit” when it ought to be the “least significant bit” ,http://en.wikipedia.org/wiki/Least_significant_bit .

    Thanks for all of your efforts. I look forward to working my way through the book as it unfolds.

    Tuesday, April 27, 2010 at 6:58 pm #
  64. Thibault Imbert wrote::

    Hi Jason,

    I am happy you like the book, thanks !

    You are right, it is a typo that I will fix right away ;)

    Thanks again,

    Thibault

    Tuesday, April 27, 2010 at 7:08 pm #
  65. Michael Michailidis wrote::

    I would also suggest that you write a few things more on page 18 when you do:

    function readBit ():uint
    {
    return uint((buffer & ( 1 << incRead++ )) != 0 );
    }

    The hard thing to understand is that the != returns boolean and you are type casting it to uint which happens to return a 0 for '00000000' and 1 for anything else. It took me a little more time to understand that…

    Wednesday, April 28, 2010 at 11:47 am #
  66. joshspoon wrote::

    Thx for sharing your knowledge and you have a lot of it so I think it will be a good book.

    Thursday, April 29, 2010 at 8:16 pm #
  67. spadeA wrote::

    thank you !I have read some contents and i am looking forward to all the content

    Thursday, May 27, 2010 at 9:13 am #
  68. Per wrote::

    Hi I have been reading the first chapter and I have never used the bytearray. Great job because you have really explain it in a way that I have learned something. Can’t wait until the next chapter. =)

    //Per Borin

    Monday, May 31, 2010 at 10:46 pm #
  69. chnzbq wrote::

    Thx very much…I am looking forward to your next chapter…But it seems that something goes wrong in your first chapter on Page 25…
    the binary of 0xFFAA9911 goes wrong in the middle of this page…same with the binary of 0x00BB0000…
    i mean in the byte level your number is different from what you give above…

    Friday, June 4, 2010 at 3:53 pm #
  70. Jay Wolfe wrote::

    Unfortunately I don’t think this book will ever be written. It’s been over a year with no response to comments, no additional chapters, and no information on the status.

    Too bad as I think this could be an extremely useful book and show the html5 community that html5 can’t come close to doing what Flash can do.

    Thursday, July 1, 2010 at 1:31 am #
  71. Thibault Imbert wrote::

    Hi Jay,

    The first chapter has been posted a few months ago, check the index, direct link here :

    http://www.bytearray.org/wp-content/projects/wcydwb/Chapter%201%20-%20The%20first%20bits.pdf

    I am finalizing chapter 2 which is going to be posted soon. Hope you will like it!

    cheers,

    Thibault

    Thursday, July 1, 2010 at 9:28 am #
  72. fritzthecat wrote::

    I have read Chapter 1 and it’s great. Brilliant stuff, thanks.

    Thursday, July 8, 2010 at 1:18 pm #
  73. DATE BOOK PUBLISH?? wrote::

    I WANT READ YOUR BOOK, WHERE CAN BUY OR DOWNLOAD THE COMPLETE VERSION.
    GOODBYE.

    Sunday, July 11, 2010 at 5:18 pm #
  74. franco wrote::

    WHERE FIND YOUR COMPLETE BOOK?
    I WANT THE EMULATOR CAP.

    Sunday, July 11, 2010 at 5:19 pm #
  75. Alp Tuğan wrote::

    Thank you so much for the book.I’m looking forward to other chapters.

    Tuesday, July 13, 2010 at 11:58 am #
  76. Diego wrote::

    you are my hero.. thx for share this great firts chapter..waiting anxiety the next ones.

    Thursday, August 12, 2010 at 5:45 pm #

Trackbacks/Pingbacks (4)

  1. ByteArray | ifmi on Friday, April 9, 2010 at 3:33 pm

    [...] Tad kam įdomu: griebiam. [...]

     
  2. [...] (由于作者目前只写了第一章,余下章节将会陆续放出,我的朋友们,你可以点击这里关注Thibault [...]

     
  3. [...] 地址:http://www.bytearray.org/?p=711 [...]

     
  4. MicRecorder, a tiny microphone library - ByteArray.org on Wednesday, August 11, 2010 at 6:28 pm

    [...] working on the second chapter of "What can you do with bytes ?", I came up with a tiny helper class for developers who need to record audio easily from the [...]