MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Guía de usuario Pagina 166

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 256
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 165
166 Use View States and Transitions
8. Switch to Source mode and examine the code.
Flex Builder inserted a
<mx:states> tag after the opening <mx:Application> tag, so that
the application appears as follows:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:states>
<mx:State name="Advanced">
<mx:AddChild relativeTo="{panel1}" position="lastChild">
<mx:VBox x="20" y="160" width="160" height="80"
id="myVBox">
<mx:CheckBox label="Regular expression"/>
<mx:CheckBox label="Case sensitive"/>
<mx:CheckBox label="Exact phrase"/>
</mx:VBox>
</mx:AddChild>
</mx:State>
</mx:states>
<mx:Panel id="panel1" x="5" y="5" width="300" height="400"
layout="absolute">
<mx:Label x="20" y="70" text="Search"/>
<mx:TextInput x="20" y="90"/>
<mx:Button x="185" y="90" label="Go"/>
<mx:LinkButton x="20" y="120" label="Advanced Options"
id="linkbutton1"/>
</mx:Panel>
</mx:Application>
Vista de pagina 165
1 2 ... 161 162 163 164 165 166 167 168 169 170 171 ... 255 256

Comentarios a estos manuales

Sin comentarios