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

Flex Accordion headerRendererʵÏÖchildÊÕËõ

 ÓÃAccordion×é¼þµÄʱºò·¢ÏÖ,childÕ¹¿ªÖ®ºóÔÙµã»÷µÄʱºòûÓÐÏàÓ¦.
È»ºóϰ¹ßÐÔµÄGoogle·¢ÏÖ½â¾ö·½·¨´óÖÂÊÇ×Ô¶¨ÒåÒ»¸ö×é¼þ...
¸Ð¾õΪÁËÒ»¸öС¹¦ÄÜÖØÐ´Óеã ɱ¼¦ÓÃÅ£µ¶µÄ¸Ð¾õ.
ÓÚÊÇ×ÐϸÏëÁËÏÂ,·¢ÏÖÆäʵֻÐèÒªÖ¸¶¨headerµÄitemRenderer¼´¿É:
ÉÏ´úÂë headerRenderer="com.MyAccHeader"
MyAccHeader:
package com
{
import flash.events.MouseEvent;
import mx.controls.Alert;
import mx.containers.Accordion;
import mx.containers.accordionClasses.AccordionHeader;
public class MyAccHeader extends AccordionHeader
{
public function MyAccHeader()
{
super();
this.addEventListener(MouseEvent.CLICK,fun);
}
private function fun(evt:MouseEvent):void
{
(this.parent as Accordion).selectedIndex = (this.parent as Accordion).selectedIndex+1;
}
}
}


Ïà¹ØÎĵµ£º

¹ØÓÚFlex SDK 3.5.0 ÖÐComboBox¶þ¼¶Áª¶¯ÎÊÌâ

½ñÌìÏÂÎç·¢ÏÖÒ»¸ö¹ØÓÚFlex SDK 3.5.0ÖÐComboBoxµÄbug£¬»¹ÕæÊÇ·ÑÁ˲»ÉÙʱ¼ä¡£ÒòΪÎÒ»¹ÊÇÍ·Ò»´Î·¢ÏÖ×Ô¼º½â¾ö²»Á˵ÄÎÊÌ⣬ÓÐÒ»ÖÖ¿ÉÄÜÊÇÆ½Ì¨»ò¿ò¼ÜµÄÎÊÌâ¡£ÌØ´Ë¼Ç¼¡£
ÎÊÌâÃèÊö£º×öÁËÒ»¸ö¹ØÓÚComboBoxµÄ¶þ¼¶Áª¶¯£¬Ò»Ö±¾Í´æÔÚÎÊÌ⣬ÓÉÓÚ֮ǰÖ÷Ì幦ÄÜûÓÐÍê³É£¬Ò²Ã»Ï¸ÐÄÏÂÀ´ÅŲ顣ÔÚÒ»¼¶ÏÂÀ­Ñ¡Ôñºó£¬ÔÚ¶þ¼¶ÖеÄArrayCollection»ò ......

flexѧϰ±Ê¼Ç

1.ǰ¶ËflexµÄ¶ÔÏóºÍjava¶ËµÄ¶ÔÏóÃû×ÖÒªÒ»Ö£¬java¶ËµÄ¶ÔÏó±ØÐëÐòÁл¯£¬·ñÔòÎÞ·¨±»flex¶Ëµ÷ÓÃת»¯
javaºǫ́´«»ØµÄlistÀï±ßµÄ¶ÔÏ󣬱ØÐëflex¶ËÒ²Óд˶ÔÏ󣬶øÇÒÁ½¸ö¶ÔÏóµÄÊôÐÔÒªÒ»Ö£¬·ñÔò£¬²»Äܻص÷
2.»Øµ÷º¯Êý²»Æð×÷Óã¬ÓпÉÄÜÊÇÒòΪ»Øµ÷º¯ÊýÃû×ÖÒýÆðµÄ
flex´Ójava¶ËÈ¡¶à¸ölist·â×°µÄ¶ÔÏóʱ£¬¶Ô¸÷¸ödatagridÒªÓÃÊý¾Ý° ......

flexÈýÖÖÁ¬¼¶·½Ê½

 flexÈýÖÖÁ¬¼¶·½Ê½:
   ÄÚÁª£º<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="var codetxt:Text=new Text">
         </mx:Application>
   ¼¶Áª£º<mx:Application xmlns:mx="http: ......

BlazeDS + Hibernet + Flex ¿ª·¢WebÓ¦ÓÃ

BlazeDS + Hibernet + Flex ¿ª·¢WebÓ¦ÓÃ
ÍøÉÏÓйØÓÚ¼¯³ÉBlazeDSºÍFlexµÄʾÀý£¬µ«ÊǴ󲿷ֶ¼Êǽ«¿Í»§¶ËºÍ·þÎñÆ÷´úÂë·ÅÖõ½Ò»¸öÏîÄ¿£¬ÕâÖÖ·½Ê½Ê¹ÎÒÃÇÔÚ±àÂëʱÈÝÒײúÉú»ìÏý£¬²¢ÇÒÒ²²»ÀûÓÚ´óµÄÏîÄ¿µÄ¿ª·¢Óë¹ÜÀí¡£ÏÂÃæÍ¨¹ýÒ»¸ö¼òµ¥µÄÀý×ÓÑÝʾһÏ£¬½¨Á¢¿Í»§¶ËºÍ·þÎñÆ÷¶Ë·ÖÀëµÄ£¬·þÎñÆ÷¶Ë²ÉÓÃHibernet+BlazeDSµÄFlex WebÏîÄ¿¡£Ï£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ