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

Flex ¼ÓÉîѧϰ±Ê¼Ç( )

Flex ¼ÓÉîѧϰ±Ê¼Ç(-)
±¾ÎÄϵÎÒ½øÒ»²½¼ÓÉîFlexÏà¹ØµÄѧϰ¶ø×öµÄѧϰ±Ê¼Ç,ÆäÖв»·¦Óвο¼×ªÔصÄÏà¹ØÊéµÄÎÄÕÂ,Ò²²»·¦ÓÐ×Ô¼ºÐ´µÄЩ¶«Î÷.Õ⵱ȻҲ±ÜÃâ²»ÁË¿ÉÄÜ»á³öÏֵĴíÎó(±¾È˵ÄÀí½â´íÎó»òÃèÊö´íÎó).ÍûÅóÓÑÃǽöÒÔÎÒµÄBlog×÷ΪÄúѧϰ·ÉϵIJο¼,Ò»ÇнÔ×Ô¼º³¢ÊÔºóÊÇÕýÈ·µÄ²ÅÊÇÕýÈ·µÄ.
»¶Ó­´ó¼ÒÒ»Æð½»Á÷ѧϰ;
»¶Ó­´ó¼ÒÅÄש;
addEventListener( type:String, listener:Function, useCapture:Boolean=false, priority:int=0, useWeakReference:Boolean=false ) : void
useCaptureµÄÒâÒåÊÇ"ÊÇ·ñÓÃÔÚ²¶»ñÆÚ",ĬÈÏÖµÊÇfalse;
priorityÓÅÏȶÈ,ͬһ¸öÀàÐÍʼþ,ÓÅÏȶÈÔ½´óµÄ¼àÌýÆ÷»áÔ½Ôç±»µ÷ÓÃ,ĬÈÏÖµÊÇ0;
useWeakReferenceÊÇ·ñÊÇÈõÒýÓÃ,AS3¼ÓÈëÁËÈõÒýÓõŦÄÜ,¼´ÊÇÕâ´ÎÒýÓò»»á¼ÆËãµ½ÒýÓüÇÊýÖÐ,À¬»ø»ØÊÕÆ÷»áÔÚÒ»¸ö¶ÔÏóûÓб»ÈκÎÆäËû¶ÔÏóÒýÓõÄʱºò,°ÑËü»ØÊÕ.


Ïà¹ØÎĵµ£º

eclipse°²×°flex²å¼þ

1.ÏÂÔØeclipseµÄ²å¼þ°ü£ºFB3_WWEJ_Plugin.exe
µØÖ·£ºhttp://trials.adobe.com/Applications/Flex/FlexBuilder/3/FB3_WWEJ_Plugin.exe
2.ÔÚÈÎÒâĿ¼½¨Ò»¸öÒÔϽṹµÄĿ¼£ºflex_plugin->eclipse->pluginsºÍfeatures
3.½øÈëFlex Builder 3 µÄ°²×°Ä¿Â¼ ½«pluginsĿ¼ÏÂËùÓÐÒÔ com.adobe ¿ªÍ·µÄÎļþ»òÎļþ¼Ðcopyµ½ÉÏ ......

±ÜÃâFlex RSLÖظ´load Ìá¸ßmodule¼ÓÔØÐÔÄÜ

±¾ÎıàÒëºóµÄ²¹¶¡ÏÂÔØÁ´½Ó http://download.csdn.net/source/1908278
¶àÄ£¿éÓ¦Óã¬Ã¿¼ÓÔØÒ»¸öÄ£¿é¶¼»áÖظ´¼ÓÔØÄ£¿éËùʹÓõÄRSL£¬ÏÖÔÚÔö¼ÓÒ»¸ö
    
    private static var  loadedRSLs:Dictionary = new Dictionary(); À´±£´æÊÇ·ñÒѼÓÔØ
mx.core.RSLListLoader
//////////////// ......

flex³ÌÐòFirefoxÏÂÖÐÎÄÊäÈëÂÒÂëµÄbug

firefoxϵ±flashÉèÖòÎÊý wmode Ϊ transparent »òÕß Opaque ʱºòÎı¾¿òÖÐÊäÈëÖÐÎÄ»á³öÏÖÎÊÌâ¡£
µÍ°æ±¾µÄfirefoxÖÐÎÞ·¨ÊäÈëÖÐÎÄ£¬¸ß°æ±¾ÖÐÔò³öÏÖÂÒÂë¡£
ÂÒÂëÓëflashºÍÒ³Ãæ±àÂ뷽ʽ¶¼Ã»ÓйØϵ£¬ÊÇfirefoxµÄbugÔì³ÉµÄ¡£
½â¾ö·½·¨Ö»ÓÐʹÓÃwmodeµÄĬÈÏÖµ£¬µ«ÊÇÕâÑùʹµÃflashÔÚÕû¸öÒ³ÃæµÄ×îÉϲ㣬divµÈ¶¼»á±»ÆäÕÚµ²×¡¡£
¼Ç ......

¹ØÓÚflexÖÐtreeµÄʼþ£¬Õ¹¿ªÊ¼þ

£¨1£©treeµã»÷ʼþpublic function handleList(ev:ResultEvent)
{
sourceList=ev.result as ArrayCollection;
}
private function tree_itemClick(evt:ListEvent):void {
var item:Object = Tree(evt.currentTarget).selectedItem;
if (pmtree.dataDescriptor.isBranch(item)) { ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ