hi guys,
I have written a BitVector class for Flash which can pack bit values (or booleans) using bitwise operators as close as possible into an array so that no space is wasted. So if you want to store 32 boolean values you would need an array with 32 elements. When used as a BitVector you can store the same amount of data in one single number.
You can find the class and the a small article on my blog: http://lab.polygonal.de