MACROMEDIA FLEX-GETTING STARTED WITH FLEX Manuel d'utilisateur Page 38

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 148
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 37
Example 3-1. The Application tag
<mx:Application xmlns:mx="http://www.adobe.com
/2006/mxml"
backgroundGradientColors="[0xFFFFFF,0xAAAAAA]"
horizontalAlign="left"
verticalGap="15" horizontalGap="15" >
Next, we’ll lay out the search form in Design mode:
1. Click
the Design button to change to Design mode. Us-
ing Design mode is the easiest way to lay out a form in
Flex Builder.
2. From the Components view, drag an HBox component
from the Layout folder to the design area. Keep the de-
fault values of the component. The HBox component
contains the label, input field, and button for the form
and displays them horizontally.
NOTE
The blue lines that appear in the design area help
you position the component. When you release
the component in the design area, it snaps into
position.
3. Drag the Label component from the Controls folder to
the HBox component.
4. To change the default appearance of the Label compo-
nent, double-click the Label component and type in the
Flickr tags or terms that you want to search (see Fig-
ure 3-4).
22 | Chapter 3:Flex 101: Step by Step
Vue de la page 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 147 148

Commentaires sur ces manuels

Pas de commentaire