WHAT'S HOT
Prev | Current Page 154 | Next

LordAlex Leon, Greg Goralski

"Foundation Flex for Designers"

We can set this label to be blank (Figure 11-29).
Figure 11-29. Third pane content
234
CHAPTER 11
Styling your Accordion
You can add CSS to an Accordion in the same way we did in Chapter 2. This is a very efficient way to
change the appearance of the component. The Accordion has similar properties to the other components
we have looked at previously. It also has one unique property: Open Duration. Open Duration
allows you to define how long the transition between the panes takes (Figure 11-30).
Figure 11-30. Style Explorer for Accordion
Summary
In this chapter you learned how to use Flex to create intuitive, compact forms to obtain information
from users. The advantage of using the Accordion component in Flex to create forms is that it can
present multiple steps of a registration without separate distinct pages. This makes it easy for a user to
move back and forth through the pages.
A second key advantage to creating forms in Flex is the data validation. Validation enables us to check
the formatting of the information that the user provides. Using validation gives an immediate
response to the user and catches errors quickly.
In the next chapter, we will begin working with Adobe Integrated Runtime (AIR) to create desktop
applications that can access the Internet.
235
CREATING FORMS: THE ???WILL FLEX FOR FOOD??? REGISTRATION PAGE
What we??™ll cover in this chapter:
Creating AIR applications
Accessing files on the desktop
Creating a custom application shape
Files used in this chapter:
MediaCenter-start.


Pages:
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166
czujnik temperatury sennik James Morrison Łzy mapa muzyczka