In Lesson 7, "Creating Components with MXML," you learned how to build custom components using MXML. There are times when you will need even more flexibility than MXML can offer you. For these occasions, you can create components in ActionScript 3.0. In this lesson, you will create a new component called MaxRestorePanel, which extends the Panel component and adds icons to the title bar to enable users to choose to maximize or restore the panel. The Dashboard will use your new component instead of the Panel. Here you see the MaxRestorePanel in its maximized state.instead of the Panel. |