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

AIRÊÇʲô£¿.airÎļþÈçºÎ´ò¿ª£¿flexÈçºÎÔËÐÐairÎļþ

1 °²×°Adobe AIR ÔËÐÐʱ£¬ºÍjavaµÄJVMÀàËÆ¡£
Adobe AIR ÔËÐÐʱÔÊÐíÔÚ×ÀÃæÔËÐÐAIRÓ¦ÓóÌÐò£¬ÍÑÀëÓÎÀÀÆ÷µÄÊø¸¿¡£
ÏÂÔØ°²×°Îļþhttp://labs.adobe.com/downloads/air.html
ÔÚÏÂÔØÒ³ÃæÓÐÑùÀý³ÌÐò£¨Sample Applications£©http://labs.adobe.com/technologies/air/samples/
2 °²×°¿ª·¢»·¾³
µ±È»ÎÒÃÇÑ¡Ôñ¿ª·¢Ð§ÂÊ×î¸ßµÄFlex Builder£¬´ËÍ⻹ÓÐÃüÁîÐбàÒëµÄÒ»Ì×¹¤¾ß¡£
http://labs.adobe.com/technologies/flex/flexbuilder3/ÏÂÔØÎļþÐèÒªÔÚAdobe×¢²áÓû§¡£
3 Adobe AIR¼ò½é
Adobe® AIR™ ÊÇÒ»¸ö¿çƽ̨µÄÔËÐÐʱ£¬¿ÉÒÔʹÓÃÏÖÓеÄWeb¿ª·¢¼¼ÄÜ(Flash, Flex, HTML, JavaScript, Ajax)´´½¨×ÀÃæ¸»ÒòÌØÍøÓ¦ÓóÌÐò¡£
AIR³ÌÐòÔËÐлùÓÚAdobe AIR Runtime£¬ËùÒÔ¿ª·¢µÄ³ÌÐòÔÚ²»Í¬µÄ²Ù×÷ϵͳ±íÏÖÊÇÏàͬµÄ£¬¾ÍÏñJavaÒ»Ñù¡£
AIR ÔÊÐíÄãʹÓÃ×îÊìϤµÄ¿ª·¢»·¾³£¬Ñ¡È¡Äã×îÉó¤µÄ¹¤¾ß½øÐпª·¢¡£±ÈÈç
    * Flash / Flex / ActionScript
    * HTML / JavaScript / CSS / Ajax
ËùÒÔAIRÓ¦ÓóÌÐò¿ÉÒÔ
    * »ùÓÚFlash»òÕßFlex£¬¼´Ó¦ÓóÌÐòµÄÈÝÆ÷ÊÇFlash»òFlex£¨swf£©
    * »ùÓÚ°üº¬HTML»òPDFµÄFlash»òFlex£¬¼´Ó¦ÓóÌÐòµÄÈÝÆ÷ÊÇFlash/Flex£¬ÄÚº¬HTML»òPDF
    * »ùÓÚHTML£¬Ó¦ÓóÌÐòµÄÈÝÆ÷ÊÇHTML£¬JS£¬CSS
    * »ùÓÚ°üº¬FLASH/FLEX»òPDFµÄHTML£¬¼´ÈÝÆ÷ÊÇHTML£¬ÄÚº¬FLASH/FLEX£¬PDF¡£
4 ʹÓÃFlex Builder´´½¨µÚÒ»¸öFlex AIRÓ¦ÓóÌÐò
ÎÒÃǽ«´´½¨Ò»¸ö»ùÓÚSWFÎļþµÄAIRÓ¦ÓóÌÐò£¬´ò¿ªFlex Builder3£¬µ±È»Flex Builder»ùÓÚEclipse£¬Êµ¼ÊÉÏËüÊÇÒ»¸öEclipseµÄ²å¼þ¡£
н¨Ò»¸öFlex ProjectÀàÐ͵Ť³Ì¡£FlexÓÐÁ½ÖÖÓ¦ÓóÌÐòÀàÐÍ£¬Ò»ÖÖ»ùÓÚWebÔÚFlash playerÀïÔËÐУ¬Ò»ÖÖÔÚ×ÀÃæÔËÐÐÓÚAdobe AIR runtime,ÎÒÃÇÑ¡Ôñ×ÀÃæÓ¦ÓóÌÐò¡£·þÎñÆ÷¼¼ÊõÑ¡Ôñnone£¬µã»÷Íê³É¡£
³õʼÉú³ÉÁ½¸öÎļþ£ºmxmlÖ÷ÎļþºÍxml³ÌÐòÅäÖÃÎļþ¡£
5 ±àдAIRÓ¦ÓóÌÐò
ËùÓеĴúÂë¶¼°üº¬ÔÚWindowedApplication ±êÇ©ÄÚ£¬Õâ¸ö±êÇ©´´½¨ÁËÒ»¸ö¼òµ¥µÄ´°¿Ú¡£
ÒÔ´úÂëÊÓͼ´ò¿ªmxmlÎļþ½øÐб༭£¬¸øWindowedApplication ±êÇ©Ìí¼ÓÒ»¸ötitleÊôÐÔ£¬ÖµÉ趨Ϊ”Hello world!”
ÔÚWindowedApplicationÔªËØÄÚÌí¼ÓÒ»¸öLabel×é¼þ¡£
ÔÚWindowedApplication¿ªÊ¼±êÇ©ºó½ô¸ú×ŲåÈëStyle¿é£¬×îºó´úÂëÊÇÕâÑùµÄ
<?xml version="1.0" encoding="utf-8"?>     
<mx:WindowedApplication xmlns:mx="http://www.adob


Ïà¹ØÎĵµ£º

RSL£­£­Flex swf ÓùÓüõ·Êר¼Ò

RSL ( Runtime Shared Library )——ÔËÐÐʱ×é¼þ¹²Ïí¿â,ÓþÍÊÇʹͬÓòÀïµÄÏîÄ¿¿É¹²Ïí×ÊÔ´£¬ÕâÑù¿ÉÒÔ½ÚÊ¡ÏîÄ¿µÄµµ°¸´óС£¬Ò×ÇиÒ×°áÔË¡¢Ò×·ÖÏí×é¼þ¿âÏîÄ¿Óë×é¼þ¿â¿É·Ö¿ª¿ª·¢ .ÈçÏÂͼ£º
ÏÂÃæÓÃͼÎĵķ½Ê½Õ¹Ê¾ÔÚFlex BuilderÖÐʹÓÃRSL¸øProject¼õ·ÊµÄ²½Öè¡£Ê×ÏÈÀ´¿´¿´¼õ·Ê֮ǰµÄ”ÌåÖØ”:
ÈçÉÏͼËùʾ£º ......

flex¿Ø¼þʹÓÃ

Glow£º
<?xml version="1.0" encoding="utf-8"?>  
<!-- Simple example to demonstrate the Glow effect. -->  
<!--   
    ÈçºÎʹÓÃFlex Glow Effect   
  &n ......

Flex ±àÒë²ÎÊý

ÏÂÃæÊÇһЩ³£¼ûµÄ±àÒëÆ÷²ÎÊý£º
1£¬¡¾verbose-stacktraces¡¿
Ö¸¶¨SWFÔÚÔËÐÐʱÒì³£ÐÅÏ¢Öаüº¬ÐкźÍÎļþÃû£¬Õ⽫ʹ²úÉúµÄSWFÎļþ¸ü´óЩ£¬´ø
verbose-stacktracesµÄSWF»¹ÊǺ͵÷ÊÔ°æ±¾µÄSWFÓÐÇø±ðµÄ¡£
2£¬¡¾source-path path-element¡¿
Ìí¼ÓÆäËûÔ´´úÂëĿ¼»òÎļþ£¬¿ÉÒÔʹÓÃͨÅä·ûÀ´Ìí¼ÓĿ¼ÖÐËùÓÐÎļþ»ò×ÓĿ¼£¬Ò²¿ÉÊ ......

Flex Metadata in ActionScript3

metadata×îÏÈ¿ªÊ¼ÓÚdotnet°É£¬½Ð×öAttribute£»È»ºójavaÒ²½ôËæÆäºó£¬½Ð×öAnnotaion£»actionscriptÔò½Ð×öMetadata¡£ÆäÖÐdotnetÓëActionScriptµÄÓï·¨¸ñʽÉ϶¼ÊÇÏàËÆµÄ£¬ÈçASÖеÄ[Bindable]¡£ÔÚJavaÖÐÔòÊÇÓÃ@XXXÕâÑùµÄÓï·¨£¬Èç@override¡£²»¹ýÄ¿µÄ¶¼ÊÇÒ»¸ö£¬¸øÀà»ò·½·¨»òÊôÐÔÔö¼Ómeta data±ê¼Ç£¬´Ó¶øÊµÏÖ¶ÔÕâЩ±»±ê¼ÇµÄ´úÂë½øÐÐ ......

flex PopMenu(demo)

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
     <mx:Script>
        <![CDATA[
       //µ¼Èë ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ