| I just finished uploading a new tutorial that shows you how to use the ByteArray class to parse and display images in formats that Flash doesn’t natively support, in this case BMP. In the tutorial I explain how to read a file specification and translate that into ActionScript 3.0 code. If you need an introduction to the ByteArray class you can check out my slides from the recent workshop I did in Amsterdam. |
Lee








Hi Lee
thanks for the tutorial
can we do the same for play unsupported audio stream ,
actually i wan to create a flash player to play online radio stream that comes from Microsoft media server, instead play using Media player plugin
thanks
outstanding, I love your tutorials. This one was especially what I needed.
Thanks Lee, really enjoyed it
Is there video from your workshop in Amsterdam?
Hey Lee, nice tutorial. Also if you’re worried about the performance from ++x vs x++ you get much better performance in loops using int vs uint. uint should only be used in hex/color math. It’s much slow than int for simple math.
Hi Lee what about saving the bytearray to a server instead on one’s desktop…could you make a tutorial on that?
Lee, Great tutorial. I watched a video of this preso online a while back and it was super helpful when trying to dig into this byte array stuff.
Keep up the good work!
Thanks for the awesome tutorial Lee!
The lower the level programming, the better!!!
how about sharing those fancy wallpapers of yours, don’t be shy!
thanks lee, very nice!
when are you coming to Spain amigo mio ??
Thanks lee I love it
great to see you pushing more tuts out Lee
Try decoding MIDI.
I’m very interested. Can you make another tutorial on low-level bytecode programming for sound?
thanks
missed your tut’s.
i would love to see the same for audio
shani
There is a major big in flash now days. can some confirm it ?
1. wordpress uploader does not show proper progress.
2. Megauploads.com uploader dosent show proper progress.
3. many more sites that used flash as uploader dont show progress properly anymore.
It seems the more we are going into the forward direction with action-script , things are getting messier ?
Bugs that were were present earlier in flash 8 have crept up !
I am sorry but we are talking about bytearray here not for the bugs
Nice tutorial lee keep it up
Yes Mr Lee good tutorial though. @khaled but i couldn’t notice the fact that the more we are moving forward, the glitches are increasing the deployment environment. Being a flash developer it does hurt to see pointing fingers at what one loves.
Great job, Lee, I love your tutorials. Just an FYI on the reason for the padding bytes. It is because it is easier for the processor and bus to handle bytes in multiples of four because of the 32/64 bit architecture. It is an optimization. If anyone wants to get more in depth, please feel free.
Hey CYB, i’ve the code for doing that. If you want it lemme know mkay?
Great tut dude.
I’m pretty sure the error at the end there was because you had created an infinite loop.
You were decrementing a uint in your outer loop, and checking if it’s >= 0. But a uint will ALWAYS be >= 0, after it reaches 0 it loops back around to 4294967295.