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

Flex¾­ÑéС¼Ç¼ (ÿÌì¼Ç¼һµãµãing...)

1. releaseʱȥµôËùÓÐtraceÐÅÏ¢ºÍloggerÐÅÏ¢£¬·ñÔòÓ°ÏìÐÔÄÜ
2. Èç¹û±¨ÎÞ·¨·ÃÎʱ¾µØÎļþ»òswf ÔÚcompileÀïÃæд -use-network=false
3. ʵÏÖcomponentÕæÕýÒþ²Ø³ýÁËÉèÖÃvisible=falseÍ⻹ÐèÒªÉèincludeInLayout = false
4. ÉèÊÖÐÍÓÐʱ³öÀ´ÉèbuttonMode="true" useHandCursor="true" »¹ÒªÉèmouseChildren="false"
5. forÑ­»·Ê±ÒªÓÃ
var len:int = array.length;
for(var i:int = 0; i<len; i++)
{
    //i ²»ÒªÓÃnumber£¬ len±äÁ¿ÍâÌá

6. IEÖÐFLASHÁ´½ÓÇøÓòÊó±êÉÁ , ÔÚFLASHµÄÊôÐÔ²ÎÊýÖмÓÉÏÒÔÏÂÁ½¾äÖÐÈÎÒâÒ»¾ä¶¼¿ÉÒÔ½â¾ö
<param name="wmode" value="opaque">
<param name="wmode" value="transparent">
7. ÓÃi>>1 Ìæ´ú i/2
8. ´´½¨Object Óà var obj:Object = {} ´úÌæ var obj:Object = new Object();  ËÙ¶ÈÌáÉý1.5±¶
´´½¨Array Óà var arr:Array = [] ´úÌæ var arr:Array = new Array();  ËÙ¶ÈÌáÉý3.5±¶
ArrayCollectionµÄ´´½¨·Ç³£µÄÂý£¬ºÄʱ´ó¸ÅÊÇvar arr:Array = []µÄ100±¶
9. Ñ­»·ÖУ¬³£Á¿ÒªÌá³öÀ´£¬ÀýÈ磺
var constant:String= MouseEvent.CLICK                
for(var i:Number=0; i<100000; i++)                
{                   
    tmpVar = constant£»          
}
10. flex¼ÓÔØÍêmoduleºó£¬moduleÀïÃæµÄ¶«Î÷Èç¹ûÊÇÓÃflashµÄ×é¼þ£¬ÓÐʱ»á³öÏÖflash×é¼þ²»ÏÔʾ£¬ÐèÒªµ÷ÓÃvalidateNow()
11. air¹¤³ÌÖУ¬×Ô¶¨Òåalert¸úflex¹¤³Ì²»Ò»Ñù£¬flex¿ÉÒÔApplication.application.addChild(alert)£¬airÔÚ¿ª¶à´°ÌåʱҪWindow.getWindow(obj).addChild(alert)£¬ objÊÇ´«½øÀ´µÄµ±Ç°¶ÔÏó
12. Íⲿ¶ÁÈ¡Îı¾Òª¿¼ÂÇתÒå×Ö·ûµÄÎÊÌ⣨±ÈÈç »»ÐÐ\n»á±ä³É\\n ÒªÌ滻ϣ©
13. ContainerµÄborderStyleÊôÐÔÉèΪsolid£¬cornerRadius²Å»áÓÐЧ¹ûÁË¡£
14. .actionScriptProperties Õâ¸öÎļþÓÃÀ´ÅäÖñàÒëµÄÊôÐÔ£¬³öÏÖĪÃûÆäÃîµÄÎÊÌâµÄ»° ²»·Á¿´¿´Õâ¸öÎļþ


Ïà¹ØÎĵµ£º

flex tree Ìí¼ÓÓÒ¼ü²Ëµ¥

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" fontSize="12">
<mx:Script>
<!--[CDATA[
import mx.controls.Alert;

public var newBuildMenuItem:ContextMenuItem;//²Ëµ¥Ïî±äÁ¿


private ......

[Flex 2] 01 RIA


#####################
# B/S & C/S
#####################
    B/S(Browser/Server,ä¯ÀÀÆ÷-·þÎñÆ÷)½á¹¹,¿Í»§¶ËÖ»Ðèä¯ÀÀÆ÷¼´¿É£¬¿çƽ̨ÐԽϺ㻼ò»¯ÁË¿Í»§¶ËµÄ¹¤×÷£¬ÏàÓ¦µØ¶Ô·þÎñÆ÷ÐÔÄÜÒªÇó½Ï¸ß£»Óë´Ëͬ
ʱ£¬ÒòΪËü£¨¾¡¹ÜÓÐAJAX£©ÎÞ·¨´Ó¸ù±¾Éϸıä“ÍøÂçÓ¦ÓóÌÐòµÄ±íʾ²ã½¨Á¢ÓÚHTMLÒ³Ãæ&rdqu ......

¹ØÓÚflexµÄʼþ·Ö·¢µÄÒ»µãÆÚÍû

flexµÄʼþ·Ö·¢ÊǸöºÃ¶«Î÷£¬µ«ÊÇʵ¼Ê±à³ÌµÄʱºòÌ«¶à¶òÓà´úÂ룬¶øÇÒʼþÖ®¼ä´©À´²åÈ¥£¬²»·ûºÏÒ»°ã³ÌÐòÔ±µÄÊéдϰ¹ß£¬Í¬ÑùµÄExtjsÒ²ÊÇ»ùÓÚÒì²½´¦Àí²¢ÇÒËüµÄ´úÂ뼸ºõijÖ̶ֳÈÉÏ¿ÉÒÔÀí½âÊÇflexµÄjs°æ±¾£¬µ«¾ÍûÄÇô¶àÈËÂñÔ¹ËüµÄÒì²½´¦ÀíºÜÂé·³¡£
½â¾ö°ì·¨£º
1¡¢ÆÚ´ýij¸öflash builderµÄ²å¼þ¼°¿ò¼Ü£¬¿É·â±Õ¹ÜÀíʼþ£¬²¢ÇÒʼþÁ ......

FlexËöÊÂ

1.¹ØÓÚflexµ÷ÊÔ³ö´íеĽâ¾ö˼·:³ýÁËÍøÉÏ˵µÄflash debug°æ±¾Ã»×°Íâ,nodɱ¶¾Èí¼þÒ²ÊÇÒ»¸öÎÊÌâ »¹ÓоÍÊǵ÷ÊÔģʽµÄÎÊÌâ Óб¾µØģʽºÍÔ¶³Ìģʽ ¾ßÌåÐ޸ķ½Ê½µ÷ÊÔ״̬ÏÂÓÒ»÷µ÷ÊÔÆ÷Ñ¡Ôñ×Ô¼ºÏëÒªµÄ. 2.flex°ó¶¨Êý×éɾ³ýÔªËغólistûÓиüÐÂÊý¾Ý ¿ÉÒÔÓÃinvalidateList() 3.progressBar½ø¶Èû¸üпÉÄÜÊÇmodeÉ趨µÄÔ­Òò ......

FLEXѧϰ½¨Òé[ת]

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