Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
This chapter has dedicated a lot of space to providing a clear overview of the display list and display objects. But it hasn't been too hands-on with code yet. There's just so much you can do with the display list that an exhaustive set of examples would be impossible. Instead, this chapter focuses on a few common tasks with the display list. In writing interesting examples, I've had to use topics not yet covered, like vector drawing and events, but the focus will be on use of the display list.
Let's combine drag-and-drop behavior with hit testing. In Example 14-2, you'll drag visual "files" into a "delete bin," which will remove them from the display list.