I have tried to learn a bit of the way AS3 works behind the scenes by skimming the surface of the AS3 bytecode.
I started with this document, and so far I'm at page 25 of 278.
I tried following along a bit, opening a SWF I had laying around and exploring the header. I was able to read the first 4 bytes until I got to "FrameSize". The data type for that was RECT (found on page 16)
The problem is, the first value of the RECT is stored as 5 BITS (not bytes). Since it doesn't round up to an even 16 bits per "chunk of data", it throws the "offset" of all bits off.
This means that unless I manually copy down the SWF hex values into binary data, reading this information simply with a Hex editor would not work, correct? Or is there anything I have missed such as some form of padding to offset this etc?