Windows Toolbar in Flash

i tried searching the forum to see if something like this is already up but i didnt see anything. If there is im sorry. My question is, in windows, when more and more windows are opened, the buttons on the toolbar get smaller and smaller. Does anyone know how to do this, an example would be great. Thanks!!