MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 User's Guide Page 162

  • Download
  • Add to my manuals
  • Print
  • Page
    / 256
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 161
162 Use View States and Transitions
The layout should look similar to the following example:
10. Switch to the editor’s Source mode by clicking the Source button in the document toolbar.
The ViewStates.mxml file should contain the following MXML code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute">
<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>
Page view 161
1 2 ... 157 158 159 160 161 162 163 164 165 166 167 ... 255 256

Comments to this Manuals

No comments