Window - le simple question ;)

Here goes nothing:
What I’m interested in is to create this window that has some options, which are:
It is draggable

It has a close button and a minimize button

How can I acheive that in Flash MX 2004?

Thanx in advance

Any link or explanation is useful