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

flexÖÐÍÏÒ·×é¼þµÄ¼¸¸öÊôÐÔ

Flex×é¼þÄÚÖÃÁË´¦ÀíÍÏקʼþµÄ½Ó¿Ú£¬ÓÐЩ¿Ø¼þÒѾ­ÊµÏÖÁËÍÏק¹¦ÄÜ£¬±ÈÈçList¡¢DataGrid¡¢Menu¡¢
HorizontalList¡¢ PrintDataGrid¡¢TileList¡¢Tree£¬ÔÚÉèÖÃÏà¹ØµÄÍÏקÊôÐÔºó£¬ËüÃǶ¼¿ÉÒÔÔÚÏàͬÀàÐ͵Ä×é
¼þÖ®¼äÀûÓÃÊó±êÀ´ÊµÏÖÊý¾ÝµÄתÒÆ¡£
allowDragSelection           ÊÇ·ñ¿ÉÒÔÍÏÑ¡
allowMultipleSelection       ÊÇ·ñ¿ÉÒÔ¶àÑ¡
dragEnabled                 ÊÇ·ñ¿ÉÒÔÍ϶¯×ÓÔªËØ
dragMoveEnabled              ÊÇ·ñÒƶ¯ÔªËØλÖ㬶ø²»ÊǸ´ÖÆÔªËØ
dropEnabled                     ÊÇ·ñ¿ÉÒÔ½«ÎïÌå·ÅÖýøÀ´
ÔÚFlexÖУ¬Óм¸¸öרÃŵĶÔÏ󹩿ª·¢Õß´¦ÀíÍÏקʼþ£º
DragManager£ºÎ»ÓÚmx.managers°üÖУ¬¹ÜÀíÍÏקʼþ
DragSource£º   λÓÚmx.core°üÖУ¬ÊÇFlex¿ò¼ÜÖеĺËÐijÉÔ±£¬´¦ÀíÍÏקÖеÄÊý¾Ý´«µÝ
DragEvent£º     λÓÚmx.events°üÖУ¬ÍÏק²Ù×÷ÖеÄʼþ¶ÔÏó¡£
°´ÕÕÂß¼­£¬ÍÏקÖÐÖÁÉÙÓÐÁ½¸ö¶ÔÏó£ºÒ»·½ÌṩÊý¾Ý£¬Ò»·½½ÓÊÕÊý¾Ý¡£ÔÚÕâ¸ö¹ý³ÌÖУ¬ÌṩÊý¾ÝµÄÒ»·½°´ÕÕÇ°ºó ˳Ðò£¬¿ÉÒÔ°ÑÕû¸ö¹ý³Ì»®·ÖΪÏÂÃ漸¸öʼþ£º
mouseDown£ºÊó±ê°´Ï¡£
mouseMove£ºÊó±êÒƶ¯¡£
dragComplate£ºÊó±êÊÍ·Å¡£ÅжÏÄ¿±êÊÇ·ñ½ÓÊÜÊý¾Ý£¬Èç¹û¿ÉÒÔ£¬ÍϷųɹ¦¡£
½ÓÊÕ·½Ò²½«¾­Àú¼¸¸ö½×¶Î
dragEnter£º±»Í϶¯¶ÔÏóÒƶ¯µ½Ä¿±ê·¶Î§ÖС£
dragDrop£ºÊó±êÔÚÄ¿±êÉÏËÉ¿ª¡£
dragOver£ºÊó±êÒƶ¯µ½Ä¿±êÉÏ¡£
dragExit£º¶ÀÏí±»ÍÏÀëÄ¿±ê·¶Î§¡£


Ïà¹ØÎĵµ£º

Flex±àÒëCSS×ÊÔ´Óë¹ú¼Ê»¯

1)      ±àÒëCSS×ÊÔ´
 
Îļþä¯ÀÀÆ÷£¨Navigator£©ÖУ¬ÔÚ±ê×¼µÄFlex CSSÎļþÉϵã»÷ÓÒ¼ü£¬µã»÷Compile CSS to SWF¼´¿ÉÍê³É±àÒëCSSµÄÈÎÎñ¡£
ÔÚ³ÌÐòÖпÉÒÔÓÃStyleManager.loadStyleDeclarations()À´¶Á³öÒѱàÒëºÃµÄCSSÎļþÖеÄÄÚÈÝ¡£
¾ßÌå²Ù×÷ÈçÏÂ:
      &nbs ......

Àí½â Flex itemRenderer µÚ 5 ²¿·Ö: ЧÂÊ

Ô­ÎĵØÖ·£ºhttp://www.adobe.com/cn/devnet/flex/articles/itemrenderers_pt5.html
Èç¹ûÄúÒªÏÔʾ´óÁ¿ itemRenderer£­ÎÞÂÛÔÚ DataGrid »¹ÊÇÔÚ AdvancedDataGrid ÖУ­Èç¹ûÎÞ·¨ÓÐЧ±àдÕâЩ itemRenderer, ÄúµÄÓ¦ÓóÌÐòÐÔÄÜ¿ÉÄÜÊܵ½¸ºÃæÓ°Ïì¡£ÒÔÏÂÊÇһЩ¿ÉÄÜÓÐËù°ïÖúµÄÌáʾ:
ÏÞÖÆʹÓà itemRenderer µÄÁÐÊý¡£ÊÇ·ñÕæµÄÐèÒª½«Ã ......

Flex BlazeDS Message Service

 ÏûÏ¢·þÎñ(Message Service )Ìṩ·¢²¼(publish)/¶©ÔÄ(subscribe)»úÖÆÔÊÐíFlex Ó¦ÓóÌÐò·¢²¼ÏûÏ¢¡¢¶©ÔÄÏûÏ¢ÖÕ¶Ë(messaging destination)£¬´Ó¶øʵÏÖʵʱÊý¾ÝµÄÍƺÍЭ×÷¡£
¡¡¡¡Ò»¡¢Message Service
¡¡¡¡Message Service Ìṩ·¢²¼(publish)/¶©ÔÄ(subscribe)»úÖÆÔÊÐíFlex Ó¦ÓóÌÐò·¢²¼ÏûÏ¢¡¢¶©ÔÄÏûÏ¢ÖÕ¶Ë(messaging des ......

flex Óë .net ½»»¥¡¾»ùÓÚWebServiceµÄÊý¾Ý·ÃÎÊ¡¿

 ·ÏÂÃæ½éÉÜFlexÓë.NETµÄWebServiceµÄÊý¾ÝͨÐÅ֪ʶµã;°üÀ¨Á¬½ÓWebService£¬Ô¶³Ìµ÷ÓÃWebService·½·¨£¬¸øWebService·½·¨´«µÝ²ÎÊýµÈÏà¹Ø֪ʶµã¡£
¡¡¡¡<mx:WebServiceid="dataService"
¡¡¡¡¡¡¡¡wsdl="http://localhost/FlashFlex/DataWebService.asmx?wsdl"
¡¡¡¡¡¡¡¡useProxy="false">
¡¡¡¡¡¡¡¡<mx:ope ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ