SWF resizes itself to fit your browser window

How do they do it? Best example would be at http://www.thefwa.com/ - where the thumbnails get reorganized into additional columns if you expand your browser window. Is this a ticky thing to accomplish?
Thanks!
dk