I have a simple problem. I am trying to fill a box with smaller boxes of different sizes. Think of it this way - I am filling a cardboard box with books of different sizes. I do not want to waste any space in the box. I want to fill the box as optimally as I can. All I need is a visual representation of this task. Nothing fancy. I can figure out the mathematical part - its simple - figure out the volume of the big box and then figure out the volumes on the smaller boxes. But not all small box would fill in the space. How can I show this graphically with flash? Any Ideas?

Thanks in advance