MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Guida Utente Pagina 154

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 256
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 153
154 Use Behaviors
Flex Builder compiles the application.
9. Click the Run button in the toolbar. If you’re using the plug-in configuration of Flex
Builder, select Run > Run As > Flex Application.
A browser opens and runs your small Flex application. Click the View button. It should
emit a green glow that gradually diminishes in intensity until it becomes a pale green.
Invoke an effect from a different
component
Instead of component triggers, you can use Flex events to invoke effects. This ability lets you
have one component invoke an effect that plays on a different component. For example, you
can use a Button controls click event to instruct a TextArea control to play a Fade effect.
When the user clicks your applications View button, you want a Label component to appear
with blurry text that gradually comes into focus to reveal a series of numbers.
1. In Design mode, insert a Label control below the View button and then set the following
Label properties in the Properties view:
ID: myLabel
Te xt : 4 8 15 16 23 42
Vedere la pagina 153
1 2 ... 149 150 151 152 153 154 155 156 157 158 159 ... 255 256

Commenti su questo manuale

Nessun commento