Draggable OS Style Windows

Published :
Author :
Adam Khoury
Learn how to create OS(operating system) style windows for your flash ActionScript 3.0 projects. We make sure that the window top bar is the only thing that can be grabbed and dragged around to produce the effect we want. We use the stratDrag and stopDrag functions, and add a boundaries arguement to the startDrag function to make our window dragging constrained to a certain area we designate.