Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Êý¾ÝÀàÐÍ˵Ã÷£¨FLEX£©


»ùÔªÊý¾ÝÀàÐÍ°üÀ¨ Boolean¡¢int¡¢Null¡¢Number¡¢String¡¢uint ºÍ void¡£ActionScript ºËÐÄÀ໹¶¨ÒåÏÂÁи´ÔÓÊý¾ÝÀàÐÍ£º
Object¡¢ Array¡¢Date¡¢Error¡¢Function¡¢RegExp¡¢XML ºÍ XMLList¡£ 
Boolean Êý¾ÝÀàÐÍ 
Boolean Êý¾ÝÀàÐÍ°üº¬Á½¸öÖµ£ºtrue ºÍ false¡£¶ÔÓÚ Boolean ÀàÐ͵ıäÁ¿£¬ÆäËüÈκÎÖµ¶¼ÊÇÎÞЧµÄ¡£ÒѾ­ÉùÃ÷µ«ÉÐδ³õʼ»¯µÄ²¼
¶û±äÁ¿µÄĬÈÏÖµÊÇ false¡£
int Êý¾ÝÀàÐÍ
int Êý¾ÝÀàÐÍÔÚÄÚ²¿´æ´¢Îª 32 λÕûÊý£¬°üº¬µÄÕûÊý¼¯½éÓÚ 
-2,147,483,648 (-231
) ÖÁ 2,147,483,647 (231
 - 1) Ö®¼ä £¨Á½¶Ë°üº¬ÔÚÄÚ£©¡£ÔçÆÚµÄ ActionScript °æ±¾½öÌṩ Number Êý¾ÝÀà
ÐÍ£¬¸ÃÊý¾ÝÀàÐͼȿÉÓÃÓÚÕûÊýÓÖ¿ÉÓÃÓÚ¸¡µãÊý¡£ÔÚ ActionScript 3.0 ÖУ¬ÏÖÔÚ¿ÉÒÔ·ÃÎÊ 32 λ´ø·ûºÅÕûÊýºÍÎÞ·ûºÅÕûÊýµÄµÍλ
»úÆ÷ÀàÐÍ¡£Èç¹ûÄúµÄ±äÁ¿½«²»»áʹÓø¡µãÊý£¬ÄÇô£¬Ê¹Óà int Êý¾ÝÀàÐÍÀ´´úÌæ Number Êý¾ÝÀàÐÍÓ¦»á¸ü¿ì¸ü¸ßЧ¡£ 
¶ÔÓÚСÓÚ int µÄ×îСֵ»ò´óÓÚ int µÄ×î´óÖµµÄÕûÊýÖµ£¬Ó¦Ê¹Óà Number Êý¾ÝÀàÐÍ¡£Number Êý¾ÝÀàÐÍ¿ÉÒÔ´¦Àí -
9,007,199,254,740,992 ºÍ 9,007,199,254,740,992£¨53 λÕûÊýÖµ£©Ö®¼äµÄÖµ¡£int Êý¾ÝÀàÐ͵ıäÁ¿µÄĬÈÏÖµÊÇ 0¡£
Null Êý¾ÝÀàÐÍ
Null Êý¾ÝÀàÐͽö°üº¬Ò»¸öÖµ£ºnull¡£ÕâÊÇ String Êý¾ÝÀàÐͺÍÓÃÀ´¶¨Ò帴ÔÓÊý¾ÝÀàÐ͵ÄËùÓÐÀà £¨°üÀ¨ Object ÀࣩµÄĬÈÏÖµ¡£Æä
Ëü»ùÔªÊý¾ÝÀàÐÍ£¨Èç Boolean¡¢Number¡¢int ºÍ uint£©¾ù²»°üº¬ null Öµ¡£Èç¹ûÄú³¢ÊÔÏò Boolean¡¢Number¡¢int »ò uint Àà
Ð͵ıäÁ¿¸³Óè null£¬Ôò Flash Player ºÍ Adobe AIR »á½« null ֵת»»ÎªÏàÓ¦µÄĬÈÏÖµ¡£²»Äܽ« Null Êý¾ÝÀàÐÍÓÃ×÷ÀàÐÍ×¢ÊÍ¡£
Number Êý¾ÝÀàÐÍ
ÔÚ ActionScript 3.0 ÖУ¬Number Êý¾ÝÀàÐÍ¿ÉÒÔ±íʾÕûÊý¡¢ÎÞ·ûºÅÕûÊýºÍ¸¡µãÊý¡£µ«ÊÇ£¬ÎªÁ˾¡¿ÉÄÜÌá¸ßÐÔÄÜ£¬Ó¦½« 
Number Êý¾ÝÀàÐͽöÓÃÓÚ¸¡µãÊý£¬»òÕßÓÃÓÚ int ºÍ uint ÀàÐÍ¿ÉÒÔ´æ´¢µÄ¡¢´óÓÚ 32 λµÄÕûÊýÖµ¡£Òª´æ´¢¸¡µãÊý£¬Êý×ÖÖÐÓ¦°üÀ¨Ò»
¸öСÊýµã¡£Èç¹ûÄúÊ¡ÂÔÁËСÊýµã£¬Êý×Ö½«´æ´¢ÎªÕûÊý¡£
Number Êý¾ÝÀàÐÍʹÓÃÓÉ IEEE ¶þ½øÖƸ¡µãËãÊõ±ê×¼ (IEEE-754) Ö¸¶¨µÄ 64 λ˫¾«¶È¸ñʽ¡£´Ë±ê×¼¹æ¶¨ÈçºÎʹÓà 64 ¸ö¿ÉÓÃλ
À´´æ´¢¸¡µãÊý¡£ÆäÖÐµÄ 1 λÓÃÀ´Ö¸¶¨Êý×ÖÊÇÕýÊý»¹ÊǸºÊý¡£11 λÓÃÓÚÖ¸Êý£¬ÒÔ 2 Ϊµ×½øÐд洢¡£ÆäÓàµÄ 52 λÓÃÓÚ´æ´¢ÓÐЧλ
Êý £¨ÓÖ³ÆΪβÊý£©£¬ÓÐЧλÊýÊÇ 2 µÄ N ´ÎÃÝ£¬N ¼´Ç°ÃæËùÌáµ½µÄÖ¸Êý¡£
¿ÉÒÔ½« Number Êý¾ÝÀàÐ͵ÄËùÓÐλ¶¼ÓÃÓÚÓÐЧλÊý£¬Ò²¿ÉÒÔ½« Number Êý¾ÝÀàÐÍ


Ïà¹ØÎĵµ£º

Flex Builder 3ÖжÔASºÍMXMLµÄ¸ñʽ»¯

ÔÚEclipseÖУ¬Óиö¿ì½Ý¼üÊǶÔjava´úÂë½øÐиñʽ»¯£¬Ð´Íê´úÂëºó¾õµÃ´úÂë¸ñʽ²»¹»ºÃ£¬°´Ï¿ì½Ý¼ü¾Í¸ã¶¨ÁË¡£µ«ÊÇÔÚFlex¿ª·¢ÖУ¬ºÜÍ·ÌÛµÄÎÊÌâÊÇûÓÐÌṩ¶Ôas3´úÂëºÍMXML´úÂë¸ñʽ»¯µÄÖ§³Ö£¬ÎÒÔÚÍøÉÏËÑË÷ÁËһϣ¬·¢ÏÖÒ»¸ö¿ªÔ´µÄºÃ¹¤¾ß£ºFlex Formatter ÏîÄ¿ÍйܵØÖ·£ºhttp://sourceforge.net/projects/flexformatter/ È¥ÉÏÃæÄǸö ......

FLEXѧϰ½¨Òé[ת]

Ô­Ìû£ºhttp://hi.baidu.com/flex2/blog/item/3501c1622af2b1dde6113aef.html
ÏÖÔÚ²»ÉÙÈË¿ªÊ¼¹Ø×¢²¢Ñ§Ï°FlexÁË£¨ÖÁÉÙ±ÈÒÔÇ°¶àÁË£©£¬µ«ÊÇÏÖÔÚ¹ØÓÚFlexµÄ×ÊÁϲ¢²»¶à£¬¹úÄÚµÄ×ÊÁϾ͸üÉÙÁË£¬¶øÇÒFlexµÄÂÛ̳ÈËÆø¶¼²îµÄºÜ£¬Ò»ÑÛÍûȥȫ¶¼ÊÇÌáÎÊÌû×Ó£¬»ØÌû³¬¹ý5¸öµÄÁÈÁÈÎÞ¼¸£¬²Ò²»È̶ð¡¡£ÎÒ·­ÒëһЩ¶«Î÷Ò²ÊÇΪÁËÔö¼ÓÖÐÎÄѧϰ×ÊÁÏ£¬ ......

FlexʹÓÃActionScript

Ò»ÊÇ»­ÃæmxmlÖÐÖ±½ÓǶÈ룬ºÜÏñjsµÄʹÓ÷½Ê½
Èç
<mx:Script>
<![CDATA[
        public function showTxt():void
        {
           mytxt.text="Hello Flex baby!"
        }
]]>
< ......

Flex dataGrid ÖÐTAB¼üºÏ¼ÆÎÊÌ⣨¼±£¡£©

ʵÀýÈçÏ£¨ÆäÖÐÓõ½AS½Å±¾£©£º
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                layout="absolute"
        &nbs ......

Flex·¢²¼Ä£Ê½


Flexƽ̨֧³Ö·¶Î§¹ã·ºµÄ·¢²¼Ä£Ê½£¬ËüÃÇÊÇ£º 
1.  ¿Í»§¶Ëģʽ£¬¼´Ó¦ÓóÌÐòÖ»ÔËÐÐÔÚ¿Í»§¶ËÉ϶ø²»ÐèÒª·þÎñÆ÷×ÊÔ´¡£ 
2. ʹÓüòµ¥µÄRPC ·ÃÎÊ·þÎñÆ÷Êý¾Ý£¬ ¼´Ê¹ÓÃHTTPService £¨HTTP GET»òPOSTÇëÇó£©  
ºÍ WebService£¨Í¨¹ýʹÓÃSOAP£© ¡£ 
3. Flex Data Servicesģʽ£¬¿ÉÒÔÌṩ¸üΪ¸ß¼¶µÄÌØÐÔ£¬È ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ