Flex°²È«É³Ïä
ÎÄÕÂÒ»£ºhttp://blog.csdn.net/eyking/archive/2009/10/21/4702330.aspx
Flex¾ÍÊÇÖÂÁ¦ÓÚRIAµÄÓ¦Óã¬AdobeΪÁËÀ©´óÕ½³¡£¬ÍƳöÁËAIR»·¾³£¬ÄÇô´Ëʱ²ÉÓÃFlex±àдµÄ³ÌÐòÔÚä¯ÀÀÆ÷ÖÐÓë×ÀÃæ»·¾³Ï¶¼¿ÉÒԺܺõÄÒÆÖ²ÁË¡£ÏñFlexÓëFlashÕâÑùÆæ¹ÖµÄ¶«Î÷£¬Õ½³¡²»½ö½öÔÚä¯ÀÀÆ÷ÉÏ£¬»¹Åܵ½ÁË×ÀÃæ»·¾³Ï¡£Ò»¸öºÜÖØÒªµÄ°²È«Ä£Ð;ͱ»Ìá³öÁË£ºFlashµÄ°²È«É³Ïä¡£ÒªÊÇûÕâÑùµÄ°²È«²ßÂÔ£¬¿ÖÅÂÕâ¸öÊÀ½ç¾Í²»°²ÄþÁË£¬µ±È»³õÆÚ£¬Õâ¸öÊÀ½ç±¾Éí¾Í²»°²Äþ£¨ÎÒ½Ó´¥Flashʱ£¬ÄÇʱ»¹ÊÇ5.0¡¢6.0°æ±¾µÄ£¬ÄÇÊÇ04Ä꣬ÎÒ¸ÕÉÏ´óѧµÄʱºò……£©¡£ÕâÑùµÄ²ßÂÔÊÇÕâЩÄêÖð½¥ÍêÉƵġ£
Æäʵ˵FlashµÄ°²È«É³Ïä¾Í°üº¬½øFlexÁË£¬ÒòΪ±¾Öʶ¼ÊÇFlash£¬¶¼ÊÇÔËÐÐÔÚFlash PlayerÕâ¸öÈÝÆ÷Öеģ¬Flex½ö½öÊǽ«³ÌÐòÔ±ÓëÉè¼ÆÈËÔ±·ÖÀëÁ˶øÒÑ¡£
½øÈë±¾´ÎµÄÖ÷Ìâ- -¡£¡£
ÒòΪÊDZʼǣ¬ËùÒÔ²»»áÏêϸ£¬¶øÇÒÕâЩ±Ê¼ÇÀ´×ÔÎÒ¿´µÄÊé¼®Óë×ÊÁÏ£¨ÕâËƺõÊÇ·Ï»°£©¡£
°²È«É³Ïä°üÀ¨£ºÔ¶³ÌɳÏäÓë±¾µØɳÏä¡£ÆäʵÕâ¸öɳÏäÄ£ÐÍÀàËÆÓëä¯ÀÀÆ÷ÖеÄͬԴ²ßÂÔ¡£ÔÚͬһÓòÄÚµÄ×ÊÔ´»á±»·Åµ½Ò»¸ö°²È«×éÏ£¬Õâ¸ö°²È«×é¾Í±»³ÆΪ°²È«É³ÏäÁË¡£
ÔÚÉîÈëÁ˽âɳÏä֮ǰÏȵÃÃ÷È·Flash PlayerµÄȨÏÞ¿ØÖÆ£¨ÎÒ»¹ÊÇ°´ÕÕFlash CS3ÉϵÄÖÐÎĹٷ½ÎĵµµÄÃû´ÊÀ´»®·Ö°É£©:
1¡¢¹ÜÀíÓû§¿ØÖÆ£º
ÕâָϵͳµÄ×î¸ßȨÏÞÓû§£¬winϵÄAdministrator£¬linuxϵÄrootµÈ¡£ÓÐÁ½ÖÖÀàÐ͵ĿØÖÆ£º
a)¡¢mms.cfgÎļþ£ºÊý¾Ý¼ÓÔØ¡¢Òþ˽¿ØÖÆ¡¢Flash Player¸üС¢¾É°æÎļþÖ§³Ö¡¢±¾µØÎļþ°²È«ÐÔ¡¢È«ÆÁģʽµÈ¡£
b)¡¢"È«¾Ö Flash Player ÐÅÈÎ"Ŀ¼£ºµ±Ä³Ð©SWFÎļþ±»Ö¸¶¨µ½Õâ¸öÊÜÐÅÈεÄĿ¼ÏÂʱ£¬ÕâЩSWF Îļþ»á±»·ÖÅäµ½ÊÜÐÅÈεı¾µØɳÏä¡£ËüÃÇ¿ÉÒÔÓëÈκÎÆäËüSWFÎļþ½øÐн»»¥£¬Ò²¿ÉÒÔ´ÓÈÎÒâλÖã¨Ô¶³Ì»ò±¾µØ£©¼ÓÔØÊý¾Ý¡£¸ÃÐÅÈÎĿ¼µÄĬÈÏ·¾¶Îª£ºC:\windows\system32\Macromed\Flash\FlashPlayerTrust¡£
2¡¢Óû§¿ØÖÆ£º
Ïà¶ÔÓÚµÚ1ÖÖ£¬ÕâÀïµÄÓû§ÊÇÖ¸ÆÕͨÓû§¡£ÓÐÕâÈýÖÖÀàÐ͵ĿØÖÆ£º
a)¡¢ÉãÏñÍ·ÓëÂó¿Ë·çÉèÖ㺻¹¼ÇµÃClickJackingµÄÄǸöFlash DEMOô£¿
b)¡¢¹²Ïí¶ÔÏó´æ´¢ÉèÖ㺾ÍÊÇÄǸöSharedObjectÁË¡£
c)¡¢Ïà¶ÔÓë"È«¾Ö Flash Player ÐÅÈÎ"Ŀ¼£¬Óû§È¨ÏÞÕâÒ²Óиö"Óû§ Flash Player ÐÅÈÎ"Ŀ¼¡£Ä¬ÈÏ·¾¶£ºC:\Documents and Settings\JohnD\Application Data\Macromedia\Flash Player\#Security\FlashPlayerTrust¡£
3¡¢Web Õ¾µã¿ØÖÆ£¨¿çÓò²ßÂÔÎļþ£©£º
¾ÍÊǼÒÓ÷»§ÏþµÄcrossdomain.xmlÎļþÁË£¬ÏÖÔڵݲȫ²ßÂÔÊǸÃÎļþÖ»ÄÜ´æ·ÅÔÚÕ¾µã¸ùĿ¼ÏÂÁË£¬Îļþ¸ñʽÈç£
Ïà¹ØÎĵµ£º
Ê×ÏÈ´´½¨Ò»¸ö×é¼þµÄMXMLÎļþ
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
[CDATA[
[Bindable]
public var myFirstName:String;
[Bindable]
public var myLastName:String;
]]
</mx:Script>
<mx:La ......
Ô´xmlÎļþ
<?xml version="1.0" encoding="iso-8859-1"?>
<books>
<stock>
<name>The Picasso Code</name>
<author>Dan Blue</author>
<category>Fiction</category>
<description>Cubist paintings reveal a secret society of people ......
¡¾±àÒë²ÎÊý¡¿
-default-background-color int
-default-frame-rate int
-default-size width height
ÉèÖÃSWFµÄ±³¾°É«£¬Ö¡ÆµÓë¿í¸ß£¬Õâ¸öÒ²¿ÉÒÔͨ¹ýÔª±êÇ©ÉèÖã¬ÖîÈç
[SWF(width="720",height="560",backgroundColor="#000000")]
-default-script-limits
-max-recursion-depth
-max-execution-time
¶¨ÒåÓ¦Óýű¾³ÌÐ ......
Ñ¡¶¨¾ØÐεÄÒ»¸ö¶¥µãΪÆðµã£¬¿ªÊ¼»
x0:¶¥µãºá×ø±ê
y0:¶¥µã×Ý×ø±ê
x1:ˮƽÏßÉÏÁíÒ»¶¥µãµÄºá×ø±ê
y1:ˮƽÏßÉÏÁíÒ»¶¡µãµÄ×Ý×ø±ê
private function drawDottenRect(g:Graphics,
x0:Number,
&nbs ......
Ç°ÑÔ
×î½ü£¬Õý½ß˹µ×ÀïµØÖع¹flex¼¼Êõƽ̨¿ª·¢µÄ²úÆ·¡¾wizBuilder CS¡¿¡£ÒÔǰΪ¸Ï¹¦ÄÜ£¬½çÃ沿·Ö´úÂ붼дµÃºÃÂÒ£¬ÏÖÔÚÊÇʱºòÐÞÀíÏÂ×Ô¼º×÷µÄÄõÁË£¬Ë³±ãΪ²úÆ·Ìí¼Ó¶àÓïÑÔÖ§³Ö(Localization)¡£
Ö÷ÒªÈÎÎñ
´úÂëÖع¹
¶àÓïÑÔÖ§³Ö
Ìí¼Óй¦ÄÜ¡¢ÐÞ¸ÄÏÖÓй¦ÄÜ¡¢È¥µô²»ºÏÀíµÄ¹¦ÄÜ
ÐÞÕýÖع¹¹ý³ÌÖз¢ÏÖµÄ ......