MACROMEDIA FLEX-GETTING STARTED WITH FLEX Manuale Utente Pagina 104

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 148
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 103
Figure 6-6. Dragging and dropping between two lists
This will add “Bad sci-fi” to the list of things I like.
I
realize that this may seem like a silly example because you
may have custom drag-and-drop requirements. But believe me
when I tell you that building your own components so that they
work with the drag-and-drop manager is very easy to do.
States and Transitions
Built into the core of the Flex API is support for different
states in the user interface. For example, a box can be open or
closed. Or a viewing area could be in two rows or three rows.
You can define these states based on your needs and then set
the parameters for each component that changes in each state.
To demonstrate I’ll make a box that gets taller in the open state
and shorter in the closed state. The example starts with a Flex
88 | Chapter 6:More Flex Applications
Vedere la pagina 103
1 2 ... 99 100 101 102 103 104 105 106 107 108 109 ... 147 148

Commenti su questo manuale

Nessun commento