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="µ÷²éÐëÖ
Ïà¹ØÎĵµ£º
Ò»¡¢¹úÍâÕ¾µã
1.×ÊÔ´Àà
Adobe Flex 2 Component Explorer£º ¹Ù·½µÄ£¬Õ¹Ê¾Á˸÷ÖÖ×é¼þµÄÓ÷¨£¬ÈëÃűؿ´¡£
CFlex£ººÜºÃµÄÒ»¸öFlex×ÊÔ´Õ¾µã£¬°üÀ¨½Ì³Ì£¬ÐÂÎÅ£¬×ÊÔ´Õ¾µã…… Ö»ÊÇÒ³ÃæÓеãÔÓÂÒ£¬´ó¼ÒÒ»°ã¿´ÓÒ±ßÄÇÒ»À¸¾ÍÐÐÁË¡£
FlexBox£ºÒ»¸öÊÕ¼¯ÁËÍøÉϺܶ࿪Դ×é¼þµÄÕ¾µã£¬Êǽø½×ѧϰµÄºÃ°ïÊÖ¡£
FlexLib£ºÒ²ÊÇÒ» ......
Ò»¸öµ¼º½ÈÝÆ÷¿É
ÒÔͨ¹ýÒ»×é×ÓÈÝÆ÷À´¼à¿ØÓû§µÄ²Ù×÷¡£±ÈÈ磬TabNavigator
Õâ¸öÈÝÆ÷¾Í¿ÉÒÔͨ¹ýÒ»×étabs
À´ÈÃÓû§Ñ¡Ôñ¿É¼ûµÄ×ÓÈÝÆ÷¡£Flex3
ÌṩÁËÈýÖÖÖ÷ÒªµÄµ¼º½ÈÝÆ÷£º
Ø
ViewStack
Ø
TabNavigator
Ø &nbs ......
Hey,buddy! How are you doing these days?All right,Let us straight to the point.
flexǶÈë×ÖÌåÓÐÁ½ÖÖ·½Ê½£º
·½Ê½1£¬Ö±½ÓǶÈ룺
[Embed(mimeType='application/x-font', source='font/minicartoon.ttf', fontName='ÃÔÄã¼ò¿¨Í¨')]
private var mnCartonFont:Class;
&nbs ......
flexÓ¦Óÿ´¾ÃÁË£¬Ò»¸öĬÈϵÄ×°ÔØloading½çÃæ¾Í»áµ¼ÖÂÉóÃÀÆ£ÀÍ£¬ÏÂÃæÌṩһÖÖ·½·¨£¬ÈÃÄã¿ÉÒÔ×Ô¶¨ÒåÄãµÄ×°ÔؽçÃæ¡£
1£¬ÔÚsrcĿ¼Ï½¨Á¢×Ô¶¨ÒåÀ࣬Á½¸öÎļþ´úÂëÈçÏ ÔÚadminConsoleÏîÄ¿¿ÉÕÒµ½¡£
*********************************************************************************
1¡¢Preloader ......
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" fontSize="12">
<mx:Script>
<!--[CDATA[
import mx.controls.Alert;
public var newBuildMenuItem:ContextMenuItem;//²Ëµ¥Ïî±äÁ¿
private ......