FLEXÕýÔò±í´ïʽÓï·¨
ÉîδÀ´¼¼Êõ
. Æ¥Åä³ý»»Ðзû"\n"ÍâµÄÈÎÒâµ¥¸ö×Ö·û¡£
[] Æ¥ÅäÀ¨ºÅÖÐ×Ö·ûµÄÈÎÒâÒ»¸ö¡£ÓÃ"-"ָʾ×Ö·ûµÄ·¶Î§¡£Èç¹ûµÚÒ»¸ö×Ö·ûÊÇÒÖÑï·ûºÅ"^"£¬ÄÇôËüµÄº¬Òå±äΪƥÅäÀ¨ºÅÄÚ×Ö·ûÒÔÍâÔ®ÈÎÒâ×Ö·û¡£
* Æ¥ÅäÇ°ÃæÕýÔò±í´ïʽµÄÁã´Î»ò¶à´Î³öÏÖ¡£
+ Æ¥ÅäÇ°ÃæÕýÔò±í´ïʽµÄÒ»´Î»ò¶à´Î³öÏÖ¡£
? Æ¥ÅäÇ°ÃæÕýÔò±í´ïʽµÄÁã´Î»ò¶à´Î³öÏÖ¡£
{}¸ù¾ÝÀ¨ºÅÄڵIJ»Í¬¶ø²»Í¬¡£µ¥¸öÊý×Ö{n}Òâζ×ÅÇ°ÃæµÄģʽÖظ´n´Î£¬È磺[A-Z]{3}£»{n1,n2}±íʾÖظ´n1-n2´Î;{Ãû×Ö}ָʾÓÃÃû×ÖÌæ»»¡£
\ Èç¹ûºóÃæÊÇСд×Öĸ£¬¾ÍÊÇCתÒåÐòÁУ¬·ñÔòÒýÓúóÃæµÄ×Ö·û¡£
()½«Ò»ÏµÁÐÕýÔò±í´ïʽ¹é×é¡£"*"¡¢"+"ºÍ"{}"ÖеÄÿ¸ö¶¼Ö±½Ó×÷ÓÃÓÚËü×ó²àµÄ±í´ïʽ£¬¶ø"|"ͨ³£Ó°Ïì×ó²à±í´ïʽºÍÓÒ²àµÄËùÓÐÄÚÈÝ¡£
"..." Æ¥ÅäÒýºÅÄÚµÄÄÚÈÝ
/ Ö»Óе±ÓкóÃæµÄ±í´ïʽ¸úËæʱ²ÅÆ¥ÅäÇ°ÃæµÄ±í´ïʽ.
^ ÕýÔò±í´ïʽµÄµÚÒ»¸ö×Ö·û£¬ËüÆ¥ÅäÐеĿªÊ¼£»ÔÚ·½À¨ºÅÖÐÓÃÓÚ·ñ¶¨£¬ÆäËü·½ÃæûÓÐÌØÊâÇé¿ö
$ ÕýÔò±í´ïʽµÄ×îºóÒ»¸ö×Ö·û£¬ËüÆ¥ÅäÐеĽáβ-ÆäËû·½ÃæûÓÐÌØÊâÇé¿ö¡£
<>λÓÚģʽ¿ªÍ·µÄ¼âÀ¨ºÅÄÚµÄÒ»¸ö»òÒ»ÁÐʹÄǸöģʽֻӦÓÃÓÚÖ¸¶¨µÄÆðʼ״̬¡£
<<EOF>>ÔÚflexÖУ¬Õâ¸öÌØÊâµÄģʽ<<EOF>>Æ¥ÅäÎļþµÄ½áβ¡£
Ïà¹ØÎĵµ£º
ÓÉÓÚFlexÖ»ÊÇÒ»ÖÖ¿Í»§¶Ë¼¼ÊõÆä±¾Éí²¢²»ÄÜÖ±½ÓͬÊý¾Ý¿â½»»¥£¬ÔÚʵ¼ÊµÄÓ¦Óÿª·¢¹ý³ÌÖÐFlexÌṩÁËÈçURLRequest¡¢HTTPService¡¢RemoteObject¡¢WebServiceµÈÀàÒÔʵÏÖͬ·þÎñÆ÷µÄͨѶºÍÊý¾Ý½»»¥£¬ÏÂÃæ×öһЩ½éÉܺÍʵÀý½âÎö:
1¡¢Ê¹ÓÃURLRequestÏò·þÎñÆ÷·¢ËÍÇëÇó£¬Ê¹ÓÃURLLoader½ÓÊÕ·þÎñÆ÷·µ»ØµÄÊý¾Ý:
& ......
-----------------ex4_01_solution------------------Creating an event and dispatching the event object
<s:Application ...
creationComplete="employeeService.send()">
»á´¥·¢£º
<!-- Declarations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
& ......
flex repeater¿Ø¼þ×¢Òâ
Repeater ¹ËÃû˼Ò壬Repeat¾ÍÊÇÖظ´µÄÒâ˼£¬ Repeater ¾ÍÊÇÓÃÀ´Öظ´µÄ¿Ø¼þ
Repeater »á¸ù¾ÝÊý¾ÝÔ´ÖжÔÏóµÄ¶àÉÙÀ´²úÉú¶àÉÙ¸ö×ÓÏÉú³ÉµÄ×ÓÏîÈ«²¿ÊÇÒÔÊý×éÐÎʽ´æÔÚµÄ
<mx:Repeater id="myRepeater" dataProvider="{myArray}">
<mx:HBox> ......
ExternalInterface.callµÄÎÊÌâ
ÇëÁôÒâÒÔÏÂÇé¾°£¬ÒªÀûÓÃÍⲿӦÓóÌÐòµ¯³öÎļþÑ¡Ôñ´°Ì壬²¢·µ»ØËùÑ¡µÄÎļþ·¾¶¡£
ʹÓÃExternalInterface.callÀ´ÊµÏÖ£¬µ±Óû§60Ãë(FlexÒѾÉèÖÃ×µÄµÈ´ýʱ¼ä)ÄÚδÄܹ»Íê³ÉÎļþÑ¡Ôñ»áµ¯³ö"1502"µÄ´íÎó£¬ÑÏÖØÓ°ÏìÓû§ÌåÏÖ¡£
ËùÒÔ£¬Ò»Ð©±È½ÏºÄʱµÄ²Ù×÷(³¬¹ý60s)£¬»òÎÞ·¨È·¶¨ºÎʱµ÷ÓÃÍê³ÉµÄ· ......