Flex×é¼þÖ®Accordion
FlexÀïÃæÓм¸¸ö×é¼þ»¹Ã»Óùý£¬×î½üÕýºÃûÊ£¬¾Í¶¼Ð´Ð´demoÀ´Ê¹ÓÃһϣ¬Õâ¸öÀý×ÓÊÇÔÚÒ»±¾½Ð¡¶Flex´óʦ֮·¡·µÄÊéÉÏ¿´µ½µÄ£¬Í¦ºÃµÄ£¬¾ö¶¨Ð´ÔÚÕâÀﱸÍü£¬·½±ãÒÔºó²éÔÄ¡£
Accordionµ¼º½ÓеãÀàËÆÒ»¸öÕÛÒ³£¬ÔÚÿһҳ¶¼°üº¬Ò»¸ö×ÓÈÝÆ÷£¬Ã¿Ò»´ÎÖ»ÏÔʾһ¸öÒ³£¬Ò²¾ÍÊÇÒ»¸ö×ÓÈÝÆ÷¡£ÎÒÃÇÕâ¸öÀý×ÓÉ趨AccordionÀïÃæÓÐÈý¸ö×ÓÈÝÆ÷£ºFrmPersonalInfo£¬FrmSurvey£¬VConfirm¡£´úÂë·Ö±ðÊÇ£º
FrmPersonalInfo.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Form xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" label="¸öÈËÐÅÏ¢">
<mx:FormItem label="ÐÕÃû" horizontalAlign="center" width="100%">
<mx:TextInput id="pName" width="100%" />
</mx:FormItem>
<mx:FormItem label="ÄêÁä" horizontalAlign="center" width="100%">
<mx:TextInput id="age" width="100%" />
</mx:FormItem>
<mx:FormItem label="סַ" horizontalAlign="center" width="100%">
<mx:TextInput id="address" width="100%" />
</mx:FormItem>
</mx:Form>
FrmSurvey.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Form xmlns:mx="http://www.adobe.com/2006/mxml" height="100%" left="20" right="20">
<mx:FormItem label="ÇëÑ¡ÔñÄú¸ÐÐËȤµÄÔ˶¯£º ">
<mx:RadioButtonGroup id="favSrv" />
<mx:RadioButton groupName="favSrv" id="bike" value="bike" label="×ÔÐгµ" />
<mx:RadioButton groupName="favSrv" id="tennis" value="tennis" label="ÍøÇò" />
<mx:RadioButton groupName="favSrv" id="football" value="football" label="×ãÇò" />
</mx:FormItem>
<mx:FormItem label="ÄúÿÖÜÔ˶¯µÄʱ¼ä£¨Ð¡Ê±£©£º" >
<mx:HSlider thumbCount="2" minimum="0" maximum="40" values="[0,40]" labels="[0,20,40]" tickInterval="1" snapInterval="1" />
</mx:FormItem>
</mx:Form>
VConfirm.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" horizontalAlign="center" verticalAlign="middle">
<mx:Label text="µ÷²éÐëÖ
Ïà¹ØÎĵµ£º
תÔØ×Ô http://amberoracle.blog.163.com/blog/static/10598633820097262242474/
µÚÒ»²½£ºÐ´ASÀà¼Ì³Ðmx.validators.Validator ,²¢µ¼Èëmx.validators.ValidationResult.
valueÖдæ·ÅÐèÒªÑéÖ¤µÄÄÚÈÝ
resultsÊý×éÖдæ·ÅÑéÖ¤ºóµÄ½á¹û£¬Èç¹ûͨ¹ýÑéÖ¤£¬Êý¾ÝΪ¿Õ£»Èç¹ûÑé֤ʧ°Ü£¬Êý×éÖÐÊÇValidationResult.¶ÔÏó£¬ÄÚº¬Ê§°Ü ......
TabNavigatorĬÈÏÊÇÖ»³õʼ»¯µÚÒ»¸öTABµÄ£¬ÉèÒ»ÏÂÊôÐÔ£¬ÉèÁ˺ó»á³õʼ»¯ÆäËûTAB£¬creationPolicy="all"
²¹³äÏÂtabÀïÃæµÄÈÝÆ÷ÊÇCanvas
¶¯Ì¬Éú³ÉTabNavigator tabÒ³Ãæ
var canvas: Canvas = new Canvas();
canvas.label = "new Tab";
tabNavigator.addChild(canvas);
-------------------------------------------------- ......
ʲôÊÇCairngorm£¿
Cairngorm£¨ÖÐÎÄÃû£º“ÑÌË®¾§”£¿£©ÊÇÒ»¸öÇáÁ¿¼¶µÄFlex RIA³ÌÐò¿ª·¢¿ò¼Ü£¬´Ó¶øʹ³ÌÐò¿ÉÀ©Õ¹ÐÔ¡¢¿Éά»¤ÐÔ¶¼´ó´óÌá¸ß£¬Æä±¾Éí²¢²»ÊÇÒ»¸öÍêÕûµÄÆóÒµÓ¦Óã¬ËüÖ»ÊÇÌṩÁËÒ»¸ö¿ª·¢¹Ç¼Ü£¬Adobe³Æ֮ΪÌåϵ¡£
CairngormÌåϵ
Ö÷Òª°üÀ¨ÒÔϼ¸¸ö²¿·Ö£º
1¡¢VO£¨Value Object£©
IValueObject ºÍ ValueO ......
Ç°ÑÔ£º´«Í³ÍøÂç³ÌÐòµÄ¿ª·¢ÊÇ»ùÓÚÒ³ÃæµÄ¡¢·þÎñÆ÷¶ËÊý¾Ý´«µÝµÄģʽ£¬°ÑÍøÂç³ÌÐòµÄ±íÏֲ㽨Á¢ÓÚHTMLÒ³ÃæÖ®ÉÏ£¬¶øHTML
ÊÇÊʺÏÓÚÎı¾µÄ£¬´«Í³µÄ»ùÓÚÒ³ÃæµÄϵͳÒѾ½¥½¥²»ÄÜÂú×ãÍøÂçä¯ÀÀÕߵĸü¸ßµÄ¡¢È«·½Î»µÄÌåÑéÒªÇóÁË¡£¶ø¸»»¥ÁªÍøÓ¦Óã¨Rich
Internet Applications£¬ËõдΪRIA£©µÄ³öÏÖ¾ÍÊÇΪÁ ......
¸ÕѧÍêJSP£¬ÏëΪFlexÅäÖÃTomcat·þÎñÆ÷£¬²¢²»ÏñMyEclipseÄÇô¼òµ¥¡£¿´Á˺ܶà½Ì³Ì»¹ÊǾõµÃͦÂé·³µÄ¡£½áºÏ¼¸¸ö½Ì³Ì£¬³É¹¦ÔÚhttp://127.0.0.1:8080/flexserver1/ ÖÐÏÔʾ³ö½á¹û¡£ËùÒÔ°Ñ×Ô¼ºµÄ¹ý³ÌÐðÊöһϣº
Ç°Ì᣺ ÒÑ°²×°Flexbuilder3£¬tomca6.0
  ......