Knowledge of Flex.
Flex Builder 3 (Download trial)
Read the complete chapter
Chapter 12: Introduction to pop-ups (302 KB)
When you construct an application, your design will likely often call for a pop-up or editing window. Flex offers a convenient mechanism in the pop-up manager to help you create, delete, position, close, and destroy windows. When you're choosing the type of pop-up window to add to your application, it's a good idea to plan ahead and first determine what the purpose of the pop-up will be and what you'll need to do in the pop-up window.
An alert issuing a simple "Hello World!" message. Click OK to close the window.
This chapter covers the following topics:
- Creating a pop-up window
- Sizing and positioning pop-ups
- Communicating with a pop-up window
- Closing pop-up windows
- Using alerts
This article is based on Flex 3 in Action, published January 2009. It is being reproduced here by permission from Manning Publications. Manning early access books and ebooks are sold exclusively through Manning. Visit the book's page for more information. Use the code "adobe35" to get a 35% discount.