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

¹ØÓÚFlex°²È«É³ÏäÎÊÌâµÄ½â¾ö

×î½üÓöµ½ÁËflex µÄ°²È«É³ÏäÎÊÌ⣬ÕÒÁ˺ܶà×ÊÁÏ·¢ÏÖ²»ÊǶ¼ÊǺÍÎÒ£¬ÎҵijÌÐòÐèÒªsocketÁ¬½Ó£¬¶ø´ó¶àÊý½²µÄ¶¼ÊÇ¿çÓòÎļþ¶ÁÈ¡µÄ¡£ÎÒÏÈ°ÑÁ½ÖÖ·½·¨¶¼×ܽá³öÀ´£º
¿çÓòÎļþ¶ÁÈ¡
·½·¨Ò»£ºÔÚÄ¿±ê·þÎñÆ÷Éϲ¼Êðcrossdomain.xmlÎļþ(ÎÒÓõĴ˷½·¨ºÜ¹ÜÓ㬷ÅÉϾÍûÎÊÌâÁË) ÐèÒªÔ¶³Ì·þÎñ¸ùĿ¼¶¨ÒåÓÐcrossdomain.xmlÎļþ£¬ÈçÏ£º
<?xml version="1.0" encoding="UTF-8" ?> <cross-domain-policy>     <allow-access-from domain="*"/> </cross-domain-policy>
·½·¨¶þ£ºÊ¹ÓôúÀí£¬°ÑFlexÒª·ÃÎʵÄÔ¶³ÌÎļþͨ¹ýasp, php, jspµÈ½Å±¾¶ÁÈ¡µ½±¾µØ£¬È»ºóÔÙÓÉFlexÈ¥·ÃÎÊ£»
·½·¨Èý£ºÊ¹ÓÃAdobe flash player 9 ´ò¿ª³ÌÐòºó£¬µã»÷²Ëµ¥À¸ÖÐÎļþ->´´½¨²¥·ÅÆ÷...¼´Éú³ÉexeÎļþ£¬ÔËÐÐexeÎļþ¼´¿ÉÍ»ÆÆ°²È«ÏÞÖÆ£»
·½·¨ËÄ£º     1¡¢ÕÒµ½Õâ¸öÎļþ¼Ð£ºc:\Documents and Settings\<UserName>\Application         Data\Macromedia\Flash Player\#Security     2¡¢ÔÚÆäϽ¨Á¢Ò»¸öÃûΪ"FlashPlayerTrust"µÄÎļþ¼Ð     3¡¢ÔÚ"FlashPlayerTrust"Îļþ¼ÐÏÂн¨Ò»TXTÎļþ£¬ÄÚÈÝÈçÏ£º         c:\         d:\         e:\         f:\     4¡¢½«¸ÃtxtÎļþÃüÃûΪ:"myTrustFiles.cfg"     ÔÙ´ò¿ªÄãÓ²ÅÌÀïµÄSWFÎļþ,¾Í²»»á³öÏÖÄǸö·³È˵ݲȫÉèÖÃÌáʾ´°¿ÚÁË!
·½·¨Î壺 ÓÃHttpServiceËüĬÈÏÊÇÓÐProxyµÄ£¬ÐèÒªÅäÖÃflex-config.xml£¬ÀïÃæÓÐÒ»¶Î£º <http-service-proxy>      <whitelist>         ………………     </whitelist> </http-service-proxy>
Õâ¸öÊÇ°×Ãûµ¥£¬Ò»°ãÇé¿öÏÂÊÇ×¢Ê͵ôµÄ£¬Ò²¾ÍÊÇĬÈÏÖ»Óб¾µØµÄhttp://{localserver}/*ºÍhttps://{localserver}/*¿ÉÒÔ·ÃÎÊ¡£ÆäËûµÄÐèÒªÔÚflex-config.xmlÀïµÄ×ÔÐÐÐ޸ijÉÐèÒªµÄ¾Í¿ÉÒÔÁË¡£
·ÃÎʱ¾µØ×ÔÈ»²»»á¿çÓò£¬²»¹ýÄã¿Ï¶¨·ÃÎʾÖÓòÍøÆäËû»úÆ÷ÁË£¬ËùÒÔÊÇÒÀÕÕ°×Ãûµ¥¹æÔò£¬ÊôÓÚ¿çÓò
SocketɳÏäÎÊÌâ
ÔÚFlexÖÐʹÓ


Ïà¹ØÎĵµ£º

flex¿ª·¢ÖйØÓÚÄÚ´æÊͷż¸¸ö×¢ÒâµÄµØ·½

1.¼àÌýʼþʱÓÃÈõÒýÓ÷½Ê½£¨ÌرðÊǶÔApplicatiion.applicaionºÍStageµÄʼþ¼àÌý£©£¬·½Ê½ÈçÏ£ºµÚÎå¸ö²ÎÊýֵΪtrue
Application.application.addEventListener(MouseEvent.CLICK,doClick,false,0,true);
2.¼¯ºÏÀàÈçArrayºÍDictionaryÀïµÄÔªËØ£¬ÔÚ²»ÓõÄʱºòÒªÉèÖÃΪnull;(ÓÈÆäÊÇÖ÷Ò³ÃæÉϵļ¯ºÏÀà)£¬È磺myMap[o]=null;
3. ......

FlexÒ³ÃæÌøת

Æäʵ¶ÔÓÚÕâ¸öÌâÄ¿ÊDz»Ç¡µ±µÄ£¬ÒòΪflexÖÐÊÇûÓÐÒ³ÃæÕâ¸ö¸ÅÄîµÄ£¬Ò³ÃæÔÚflexÀïÃæÆäʵ¾ÍÊÇÒ»¸ö¸öµÄCanvas£¬vbox£¬
hboxµÈµÈÖ®ÀàµÄ¶«Î÷£¬¿´µ½µÄ²»Í¬Ò³ÃæµÄÇл»£¬¾ÍÊÇÕâЩԪËØÒ»²ã²ãµÄ¶Ñ»ý£¬»òÕßÌæ»»£¬µ«ÊÇΪÁ˺ÃÀí½â£¬»¹ÊdzÆ֮Ϊ
"Ò³ÃæÌøת"¡£ÆäʵÎÒÃÇ¿ÉÒԶԱȴ«Í³µÄC/S¿ª·¢Ä£Ê½£¬Ã»Ò³ÃæÌøת£¬Ö»Óд°ÌåºÍÔª¼þµÄÏÔʾºÍÒþ²Ø¡ ......

ÔÚflexÖÐʹÓÃǶÈëhtmlÎļþÒÔ½â¾öÏÔʾhtmlµÄÎÊÌâ

ÏëÔÚflexÖÐÕæʵµÄÏÔʾhtml,µ«ÊÇtexteara,lable,textÖÐÖ»Ö§³Ö²¿·Öhtml±êÇ©
<a>¡¢<b>¡¢<br>¡¢<font>¡¢<img>Èç¹ûÓÃimgÓÖ´æÔÚÏÔʾ×Ô¶¯»»ÐеÄÎÊÌâ¡£Ö»ÓвÉÓÃǶÈëhtmlµÄ·½·¨À´½â¾ö¡£
1.flexdemo1
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe ......

FLEXºÏ²¢Êý×é

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script><!--[CDATA[import mx.collections.ArrayCollection;
public var a1:ArrayCollection = new ArrayCollection ([{ Region:"Region1",Territory:"Territory1",Ter ......

FlexÖÐ×Ö·û´®ReplaceAll

ÓùýFLEXÖÐStringÀàÐ͵ÄÅóÓÑ¿ÉÄÜÖªµÀ£¬replaceÕâ¸ö·½·¨²¢²»¹ýÌæ»»ËùÓÐÄÚÈÝ¡£ÄÇôÎÒÃÇÐèÒªÌæ»»ËùÓÐÄÚÈÝÔõô°ì£¿Ö»ÓÐ×Ô¼º¶¯ÊÖ£¬·áÒÂ×ãʳ¿©£¬ºÇºÇ¡£ÑÔ¹éÕýר£¬ÓÐÁ½ÖÖ·½·¨£¬Ò»ÖÖÊÇÀûÓÃArrayµÄ·½Ê½£¬ÁíÒ»ÖÖÊÇÀûÓÃÕýÔòÈ¥Ìæ»»¡£
/**
* StringReplaceAll
* @param source:String Ô´Êý¾Ý
* @param find:String Ìæ»»¶ÔÏó ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ