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

flex ×°Ôضà¸ömodule³öÏÖ: Ç¿ÖÆת»»ÀàÐÍʧ°Ü

flex ×°Ôضà¸ömodule³öÏÖ: Ç¿ÖÆת»»ÀàÐÍʧ°Ü,³öÏÖijЩÀ಻ÄÜת»»
ÀýÈ磺
 ÎÞ·¨½« mx.managers::PopUpManagerImpl@7155ac1 ת»»Îª mx.managers.IPopUpManager¡£
½â¾ö·½·¨ÊÇÔÚApplication¼ÓÈëÒýÓÃ
1.
import
 mx.managers.DragManager;
private
 var dragManager : DragManager;
2.
ÔÚModuleLoader µÄcreationComplete·½·¨ÖмÓÈëÈçÏ´úÂ룺
moduleLoader.applicationDomain
= ApplicationDomain.currentDomain;
ÔÚmoduleloader×öÇл»µÄʱºò£¬¼ÓÉÏ£º
moduleLoader.unloadModuleÔÙ×ö
moduleLoader.loadModule().


Ïà¹ØÎĵµ£º

ÀûÓôúÂëÓë²¼¾Ö·ÖÀë¼¼Êõ¹¹½¨×Ô¶¨ÒåFlex×é¼þ


XMLºÍActionScriptÔÚ´´½¨×é¼þ·½Ãæ¸÷ÓÐÓÅȱµã£º
ÔÚ´´½¨¸´ºÏ×é¼þʱ£¬MXML¿ÉÒÔʱ´´½¨¹ý³Ì±äµÃºÜÈÝÒ×£¬²¢ÇÒ·½±ãÓÚ¶Ô×ӿؼþ½øÐв¼¾Ö¡£
ÔÚÐÞ¸Ä×é¼þÐÐΪʱ£¬ÎÒÃÇ¿ÉÒÔÓÃActionScriptÀ´ÐÞ¸ÄËûÃǵķ½·¨¡£
´ó¶àÊýʱºò£¬ÎÒÃÇ»áʹÓÃMXMLºÍActionScript½áºÏµÄ·½Ê½À´´´½¨Flex×é¼þºÍÓ¦Óá£
FlexÌṩÁ˶àÖÖ·½Ê½À´½áºÏʹÓÃMXMLºÍActionS ......

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

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

flex ÓÅ»¯¼¼ÇÉ ÊÕ¼¯[ÌáÉýÐÔÄÜ]

1¡¢µ±´´½¨Ò»¸öÊý×éµÄʱºò±ÜÃâÓÃnew²Ù×÷·û,Óà var a:Array = [];¶ø²»ÓÃvar a:Array = new Array();
2¡¢¿ìËٵĸ´ÖÆÒ»¸öÊý×飺
var copy : Array = sourceArray.concat ();
3¡¢ÉèÖÃÒ»¸öÊý×éµÄÖµÊǷdz£Ã¦µÄ£º
employees.push ( employee ); employees[2] = employee;
4¡¢´ÓÒ»¸öÊý×éÖÐÈ¡µÃÖµµÄËÙ¶ÈÊÇÉèÖÃÒ»¸öÊý×éÖµµÄÁ½±¶ ......

flex ʵÏÖÈ«ÎļìË÷ÖеĸßÁÁÏÔʾ´úÂë

<mx:DataGrid id="dg" click="select()" dataProvider= "{modelLocator.resultList}" borderStyle="none"
verticalGridLines="false" horizontalGridLines="false" verticalScrollPolicy="off" rowCount="10"
fontSize="16" fontStyle="normal" fontThickness="0" width="100%" height="100%">
<mx:columns& ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ