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

flex IModuleInfo ×¢²áʼþʧЧÎÊÌâ

ÔÚflex ¿ª·¢ÏîÄ¿ÖУ¬ºÜ¶à¶¼»áʹÓÃModuleÀ´¼õÉÙapplication¼ÓÔعý´óµÄÎÊÌâ¡£ModuleҲȷʵ½â¾öÁËÕâ¸öÎÊÌâ¡£
µ«ÊÇÔÚʹÓÃModule¹ý³ÌÖÐÐèҪעÒâµÄÒ»µã ·Ç³£¹Ø¼üµÄÒ»µãÄǾÍÊÇ ¶¨ÒåÒ»¸öIModuleInfoµÄʱºò Ò»¶¨Òª¼ÇµÃ°Ñ¶¨Òå³ÉÈ«¾Ö±äÁ¿Å¶¡£²»È»¾Í»á³öÏÖ µÚÒ»´Î¼ÓÔز»ÁË ¶þµÚ¶þ´Î µÚÈý´Î¡£¡£¡£¡£¶¼¿ÉÒÔµÄЧ¹û¡£²»×¢ÒâÕâµãÕÒËÀÁ˶¼ÕÒ²»³öʲôԭÒòÀ´¡£
ΪʲôҪ¶¨Òå³ÉÈ«¾ÖµÄ¡£
Ô­Òò¿´ÁËÏÂÃæµÄÓ¢ÎľÍÖªµÀÁË£º
References to IModuleInfo must be maintained to keep the event listeneres alive. If the IModuleInfo is defined in function local scope the event listeners may get garbage collected.
google µÄ·­ÒëÊÇÕâÑù˵µÄ£º
ÒÔIModuleInfo²Î¿¼±ØÐë±£³Ö±£³Öʼþlisteneres»î×Å¡£Èç¹ûIModuleInfo¶¨ÒåÔÚº¯ÊýµÄ¾Ö²¿·¶Î§µÄʼþ¼àÌýÆ÷¿ÉÄܻᱻÀ¬»øÊÕ¼¯¡£
Ò²¾ÍÊÇ˵ ÔÚʹÓÃIModuleInfo ¹ý³ÌÖÐʼÖÕÒª±£³ÖIModuleInfo ±äÁ¿µÄ´æÔÚ£¬²»È»µÚÒ»´Î¾Í»á±»µ±×öÀ¬»ø´¦Àí£¬²ÅʹµÃËû×¢²áʼþµÚÒ»´ÎÖ´ÐÐ×ÜÊÇʧЧµÄÎÊÌâ¡£


Ïà¹ØÎĵµ£º

ÔÚFLEXÖеÄstageÒÔ¼°È«ÆÁÏà¹ØÄÚÈÝ

ÏÖÔÚÎÒÃÇÏÈ¿´¿´´úÂë,ÏÂÃæµÄ´úÂë×°ÔÚcreationCompleteʼþÖе÷ÓÃinit()À´Æô¶¯È«ÆÁ.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"
creationComplete="init()"
>
<mx:Scri ......

Flex 4ÖÐÈçºÎ´´½¨²»¿É±à¼­NumericStepperµÄÀý×Ó

<?xml version="1.0" encoding="utf-8"?>
<s:Application name="Spark_NumericStepper_textInput_editable_test"
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xml ......

flex ÖÐʵÏÖ×Ô¶¨Òå¹ö¶¯

ÔÚÓ¦ÓÃÖУ¬ºÜ¶à¶¼ÏëʵÏÖflexµÄ¿Ø¼þûÓйö¶¯ ¶øÊÇͨ¹ýÆäËûµÄ°´Å¥·½Ê½½øÐпؼþÄÚÈݵĹö¶¯£¬ÕâÑùʵÏֵĿªÊ¼µ±È»ÊÇÒªÉèÖÃhorizontalScrollPolicy="off" verticalScrollPolicy="off"ÁË£¬È»ºóͨ¹ýcontainerµÄhorizontalScrollPosition »òverticalScrollPositionµÄ¼Ó ¼õÀ´ÊµÏÖÄÚÈÝ×óÓÒ¡¢ÉÏϹö¶¯¡£Ë¼Â··½·¨ÍêÈ«ÕýÈ·£¬µ«ÊÇÔÚÕâÑùµÄÇ ......

Flex»ù±¾Ô­Àí

Á˽âFlex³ÌÐòµÄÉúÃüÖÜÆÚ
Flex³ÌÐò´Ó±¾ÖÊÉϽ²£¬¾ÍÊÇʹÓÃÁË£¨ÓÉAS±àдµÄ£©Flex¿ò¼ÜµÄFlash³ÌÐò¡£
µ«ÔÚFlex³ÌÐòÖпÉÒÔºöÂÔtimelineÕâ¸ö¸ÅÄËùÓеÄÄÚÈݶ¼¼¯ÓÚÒ»Ö¡¡£
ÊÂʵÉÏFlex³ÌÐòÖеĸù£¬ÊǼ̳Ðflash.display.MovieClipµÄmx.managers.SystemManager¡£
SystemManagerÓÐÁ½Ö¡¡£µÚÒ»Ö¡ÊÇÔ¤¼ÓÔسÌÐò£¬µÚ¶þÖ¡ÊÇÖ÷³ÌÐò¡£
Òò´Ë ......

[ת]flexÖÐPopup´°¿Ú·ÃÎʸ¸´°¿ÚµÄ4ÖÖ·½·¨ÒÔ¼°Ï໥´«Öµ


1.Èç¹ûʹÓÃMVC¿ò¼Ü£¬ÏàÐÅÕâ²¢²»ÊÇÒ»¸öÎÊÌâ¡£¶øÈç¹ûûÓÐʹÓõĻ°£¬¿ÉÒÔÓÃÀàËƵķ½·¨ÉèÖÃÒ»¸öµ¥Àý£¬×Ó´°¿ÚºÍ¸¸´°¿Úͨ¹ýÕâ¸öµ¥ÀýÀ´½»»¥ÏûÏ¢£¬Èç¹ûÐèÒª½âñÇë·¢ËÍ×Ô¶¨Òåʼþ¡£×ÜÖ®£¬Ö»Òª°´ÕÕMVC˼·À´×ö¾Í¿ÉÒÔÁË¡£
2.ÀàËÆJS£¬ÔÚ×Ó´°¿ÚµÄ¹¹Ô캯ÊýÀïÔö¼ÓÒ»¸ö²ÎÊý£¬½«¸¸´°¿Ú´«²Î½øÈ¥¡£MXMLûÓй¹Ô캯Êý£¬ÓÃÒ»¸öÊôÐÔÀ´±£´æ¸¸´° ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ