MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Guide de l'utilisateur Page 154

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 256
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 153
1 2 ... 149 150 151 152 153 154 155 156 157 158 159 ... 255 256

Commentaires sur ces manuels

Pas de commentaire