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

¹ØÓÚFlashÄÚ´æÇåÀí£¨×ª£©

Flash PlayerµÄgarbage collection£¨GC£©·ÖÁ½ÖÖÔËÐз½Ê½£¬Ò»ÖÖÊÇ“ÒýÓüÆÊý·¨”£¨Reference Counting£©£¬Ò»ÖÖÊÇ“±ê¼Ç-Çå³ý·¨”£¨Mark Sweeping£©¡£
ÒýÓüÆÊý·¨ÊÇͨ¹ý¼ÆËãÖ¸Ïòij¸ö¶ÔÏóµÄÒýÓõÄÊýÁ¿À´È·¶¨ÊÇ·ñÇå³ý¸Ã¶ÔÏó¡£Èç¹ûÒ»¸ö¶ÔÏóµÄÒýÓÃÊýÁ¿Îª0£¬±íʾ³ÌÐòÎÞ·¨ÔÙ·ÃÎʵ½¸Ã¶ÔÏó£¬ÔòÇå³ý¸Ã¶ÔÏó£»Èç¹ûÒýÓüÆÊý²»Îª0£¬Ôò²»Çå³ý¡£ÕâÖÖ·½·¨ÔËÐдú¼Û½ÏС£¬µ«ÊÇÕâÖÖ·½·¨ÎÞ·¨Çå³ý´æÔÚÑ­»·ÒýÓùØϵµÄ¶ÔÏ󼯺ϡ£±ê¼Ç-Çå³ý·¨ÊÇ´Ó³ÌÐòµÄ¸ù¶ÔÏó¿ªÊ¼£¬±éÀúÿ¸öÒýÓÃÖ¸ÏòµÄ¶ÔÏó¡£±éÀú¾­¹ýµÄ¶ÔÏó£¬Ôò½«Æä±ê¼Ç¡£×îºóÇå³ýËùÓÐûÓдòÉϱê¼ÇµÄ¶ÔÏó¡£ÕâÖÖ·½·¨±È½Ï³¹µ×£¬µ«ÊÇÔËÐдú¼Û½Ï¸ß¡£
FlashPlayerÔËÐÐGCµÄʱ¼ä²¢²»¹Ì¶¨£¬Ëü»á¸ù¾ÝÄãµÄÄÚ´æµÄÕ¼ÓÃÇé¿öÀ´¾ö¶¨ÔËÐÐGCµÄʱ¼ä¡£Ëü»á¸ù¾ÝÓû§»úÆ÷µÄÄÚ´æÖµÀ´É趨һ¸ö·§Öµ£¬È»ºó½«³ÌÐòµÄÕ¼ÓÃÄÚ´æÁ¿±£´æÔڸ÷§Öµ×óÓÒ¡£
Ïêϸ¿É²é¿´ÎÄÕ“Understanding garbage collection in Flash Player 9”¡£
ÕýÒòΪFlashPlayerÕâÖÖ“²»È·¶¨”µÄGC»úÖÆ£¬ËùÒÔÎÒÃÇËùÒª×öµÄÖ÷Òª¹¤×÷ÊÇÈ·±£´´½¨µÄ¶ÔÏóÔÚ²»ÐèÒªµÄʱºò¿ÉÒÔ±»ÊÍ·Å¡£È·±£¶ÔÏó¿ÉÒÔ±»ÊͷŵĴóÔ­ÔòÊÇûÓÐÍⲿÒýÓÃÖ¸Ïò¸Ã¶ÔÏ󣬳ýÁËÒ»°ãÇé¿öϵÄûÓн«ÍⲿÒýÓÃÏÔʾµØÉèΪnullÖ®Í⣬ÒÔϵÄÇé¿öÒ²»áµ¼Ö¶ÔÏóÎÞ·¨ÊÍ·Å£º
1. ûÓÐremove¼àÌýµÄʼþ¡£±ÈÈ磬A¶ÔÏó¶Ôij¸öʼþ½øÐмàÌý£¬¼àÌýº¯Êý£¨Event Handler£©´æÔÚÓÚB¶ÔÏóÖУ¬ÔòÏ൱ÓÚA¶ÔÏó»á±£´æÒ»¸öB¶ÔÏóµÄ·½·¨µÄÒýÓ㬻ᵼÖÂB¶ÔÏóµÄÄÚ´æÎÞ·¨ÊÍ·Å¡£
½â¾ö·½·¨£º×¢Òâremoveµô¼àÌýʼþ£»»òÕßÔÚµ÷ÓÃaddEventListener£¨£©Ê±£¬½«¼àÌýº¯ÊýÉèΪÈõÒýÓ㬵«ÕâÖÖ×ö·¨Ö»ÊʺÏÒ»´ÎÐԵļàÌý¡£
2. ʹÓÃBindingUtils.bindSetter()¡¢ChangeWatcher.watch()°ó¶¨Ä³¸ö¶ÔÏóÖ®ºó£¬Ã»ÓÐÇå³ý¸Ã°ó¶¨¡£µÀÀíͬ1£¬Æäʵ°ó¶¨Ä³¸ö¶ÔÏó£¬Ò²¾ÍÊǼàÌýÆä·¢³öµÄPropertyChangeʼþ¡£
½â¾ö·½·¨£ºÊ¹ÓÃChangeWatcher.unwatch()À´Çå³ý°ó¶¨¹Øϵ¡£
3. ÉùÃ÷ÁËÑùʽ£¬²¢ÔÚÑùʽÖÐʹÓÃÁËǶÈëʽ×ÊÔ´¡£±ÈÈçÔÚ<mx:Style>±êÇ©Öж¨ÒåÁËÑùʽÃû³Æ¡£Ò»¸ö¶ÔÏó¶¨ÒåÁËÑùʽ£¬Ï൱ÓÚ¶ÔÍâÉùÃ÷ÁËÒ»¸öÈ«¾Ö¿ÉÓõÄÑùʽ£¬Òò´Ë»áµ½µ¼ÖÂÍⲿ±£´æÁ˸öÔÏóµÄÒýÓ㬿ÉÄܵ¼Ö¶ÔÏóÎÞ·¨ÊÍ·Å¡£
½â¾ö·½·¨£º½â¾ö·½·¨ºÜ¶à£¬¿ÉÒÔʹÓö¯Ì¬¼ÓÔصÄÑùʽ£¬»òÕßʹÓÃÒ»¸öÀà»òÄ£¿é£¨Module£©×¨ÃŹÜÀíÑùʽ£¬ÕâЩ½â¾ö·½·¨È¡¾ö³ÌÐòµÄ¼Ü¹¹Éè¼Æ¡£
4. ʹÓÃExternalInface.callBack()ÉùÃ÷Á˶ÔÍâµÄAPIº¯Êý¡£ÀàËÆÓÚÇé¿ö1£¬Ò»¸ö¶ÔÏó¶ÔÍâÉùÃ÷ÁËAPI£¬¾ÍʹÍⲿ±£´æÁËÖ¸Ïò¸Ã¶ÔÏóµÄÒýÓá£
½â¾ö·


Ïà¹ØÎĵµ£º

FATÎļþϵͳÔÚNAND Flash´æ´¢Æ÷ÉϵĸĽøÉè¼Æ


FATÎļþϵͳÔÚNAND Flash´æ´¢Æ÷ÉϵĸĽøÉè¼Æ(2008-04-07 16:59:54)
±êÇ©£ºÔÓ̸ 
·ÖÀࣺ¼¼ÊõÌìµØ
    ǶÈëʽϵͳµÄ´óÁ¿Êý¾Ý¶¼´æ´¢ÔÚÆäF1ashоƬÉÏ¡£¸ù¾ÝFlashÆ÷¼þµÄ¹ÌÓÐÌØÐÔ£¬¹¹½¨Ò»¸öÊʺϹÜÀíNAND Flash´æ´¢Æ÷µÄFATÎļþϵͳ£¬²¢²ûÊö¾ßÌåµÄÉè¼Æ˼Ïë¡£¸Ãϵͳ¸Ä½øÁËFAT±íºÍFRT±íµÄ´æ´¢·½Ê½£¬ÑÓ ......

Ò»¶ÎÍøÒ³ÖвåÈëflashµÄ´úÂë

¾ÙÀý×ÓÈçÏ£º
<<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="400" height="60">
<param name="movie" value="ÄãµÄflash·¾¶" />
<param name="quality" value="high" / ......

ÔÚflashÖÐÃüÃûµÄmcʵÀýÔÚflex±à¼­»·¾³Ï·ÃÎÊ

ÔÚflex¿ª·¢»·¾³Öбàдas3´úÂëÊǺܷ½±ãµÄ£¬½èÖúflex¿ª·¢»·¾³´úÂ붼ÓÐ×Ô¶¯Ìáʾ¹¦ÄÜ£¬µ«ÊÇÔÚ×öflashÓÎÏ·µÄʱºò£¬ÔÚÉæ¼°µ½¶Ô»°¿òµÄʱºò£¬ÎÒÓöµ½Ò»¸öºÜ¼¬ÊÖµÄÎÊÌ⣬¾ÍÊÇÔÚÃÀ¹¤ÓÃflash cs²¼¾ÖºÃÁ˵ĽçÃ棬ÎÒÔÚ½çÃæÉÏÃüÃûÁËʵÀý£¨ÈçtextfieldÀàÐÍ var nameText:String£©£¬ÔÚµ¼³öÕâ¸öÀࣨguestDialog£©µÄʱºò(Õâ¸öÀà¼Ì³Ð×ÔMovieClip ......

NandFlashϵÁÐÖ®¶þ£ºS3C2410¶ÁдNand Flash·ÖÎö

NandFlashϵÁÐÖ®¶þ£ºS3C2410¶ÁдNand Flash·ÖÎö
2009Äê12ÔÂ09ÈÕ ÐÇÆÚÈý 09:06
Ò»¡¢½á¹¹·ÖÎö
S3C2410´¦ÀíÆ÷¼¯³ÉÁË8λNandFlash¿ØÖÆÆ÷¡£Ä¿Ç°Êг¡Éϳ£¼ûµÄ8λNandFlashÓÐÈýÐǹ«Ë¾µÄk9f1208¡¢k9f1g08¡¢k9f2g08µÈ¡£k9f1208¡¢k9f1g08¡¢k9f2g08µÄÊý¾ÝÒ³´óС·Ö±ðΪ512Byte¡¢2kByte¡¢2kByte¡£ËüÃÇÔÚÑ°Ö··½Ê½ÉÏÓÐÒ»¶¨²îÒ죬ËùÒÔ³ÌÐ ......

FLASH²¥·ÅÆ÷¿Ø¼þÏà¹ØÊôÐÔ·½·¨ËµÃ÷

FLASH²¥·ÅÆ÷¿Ø¼þÏà¹ØÊôÐÔ·½·¨ËµÃ÷¡£
2008-07-03 18:19
AlignMode £¨¶Áд£©
Óï·¨£ºAlignMode As Long
˵Ã÷£º¶ÔÆ뷽ʽ£¨Óë SAlign ÊôÐÔÁª¶¯£©¡£µ±¿Ø¼þµÄ ³¤¿í±ÈÀýÓëӰƬ²»Ò»ÖÂÇÒ WMode ²»Îª ExactFit ʱ£¬Ó°Æ¬
£¨Ã»Óб»·Å´óµÄ£©ÔڿؼþÖÐÏÔʾµÄλÖÿÉÓøÃÊôÐÔµ÷Õû¡£ ¸ÃÊôÐÔÖµÓɱê־λ×é³É¡£Èçͼ£¬½«¸ÃÊôÐÔÖµ£¨¶þ½øÖÆ£© ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ