Draggable Panel (with close button)
I really dig the way Flex Panels look. I’m still fairly new to the whole Flex scene, and I wasn’t sure if it was possible to create a Panel and give it the ability to be dragged around the stage. It kinda resembles a OS window, so it just makes sense to be able to drag it around.
Anyway, I found out Panels are static at first, and I was bummed. Then I found a nice, quick tutorial over at AboutFlex.net that accomplishes exactly what I need. I can see myself using this custom component more often than the normal one.
I get the feeling I might use AboutFlex.net a lot. Its a great resource for Flex beginners.
EDIT (7/17/09): AboutFlex.net went down, along with the tutorial. Here’s my replacement. This is the most stripped-down version that I could put together quickly. It has a close button on the top right. I don’t have a tutorial, but here’s the source: