flexͼ±í½¥±äЧ¹ûʾÀý
<?xml version="1.0"?>
<!-- charts/GradientFills.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<!--[CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var expenses:ArrayCollection=new ArrayCollection([{Expense: "Taxes", Amount: 2000}, {Expense: "Rent", Amount: 1000}, {Expense: "Bills", Amount: 100}]);
]]-->
</mx:Script>
<mx:Panel title="Background Fill">
<mx:BarChart id="myChart"
dataProvider="{expenses}"
showDataTips="true">
<mx:verticalAxis>
<mx:CategoryAxis dataProvider="{expenses}"
categoryField="Expense"/>
</mx:verticalAxis>
<mx:fill>
<mx:LinearGradient>
<mx:entries>
<mx:GradientEntry color="0xC5C551"
ratio="0"
alpha="1"/>
<mx:GradientEntry color="0xFEFE24"
ratio=".33"
alpha="1"/>
<mx:GradientEntry color="0xECEC21"
ratio=".66"
alpha="1"/>
</mx:entries>
</mx:LinearGradient>
</mx:fill>
<mx:series>
<mx:BarSeries xField="Amount"
displayName="Amount"/>
</mx:series>
</mx:BarChart>
<mx:Legend dataProvider="{myChart}"/>
</mx:Panel>
</mx:Application>
Ïà¹ØÎĵµ£º
ÎʸöÎÊÌâ ×î½üÔÚѧϰFlex¡£¡£¡£ÕÕ×ÅÍøÉÏ×ÊÁÏ£¬ÔÚMyEclipseÖÐÍê³ÉÁËFlexÓëwebÏîÄ¿ÕûºÏ
ÔÚ×öÆÕͨFlexÔËÐвâÊÔÊÇÊÇûÓÐÎÊÌâµÄ£¬µ«Èç¹ûÏëµ÷ÓÃjavaÀ࣬°´ÕÕÍøÉϵÄ×ö·¨£¬ÊÇÒª¸ü¸Ä¸ÃÄ¿
¼ÏµÄremoting-config.xml£¬µ«ÊÇÎÒ×Ô¶¯Éú³ÉµÄWebRoot/WEB_INFO/flexĿ¼ÏÂÃæ½ö½öÖ»ÓÐ
services-config.xmlÒ»¸öÎļþ£¬ÕâÊÇʲôÔÒò£¿£¿ÎÒµÄÊÇ ......
¿´Á˺ܶàFlexµÄÊ飬¹ØÓÚFlexµÄÉúÃüÖÜÆÚ×ÔÈÏΪÁ˽âµÄ»¹²»´í£¬µ«ÊÇͻȻÉÏÍøÉÏ¿´µ½Ò»¸ö¸çÃÇÓÃͼ±í°ÑFlex µÄApplicationÆô¶¯¹ý³ÌÒÔ¼°×Ô¶¨Òå×é¼þµÄÉúÃüÖÜÆÚ±í´ïµÄ·Ç³£ÇåÎú£¬ºÜÊÇÅå·þ£¬ÌØ·ÖÏí³öÀ´£¬ÄÚÈÝÈçÏ£º
Flex Custom Component LifeCycle
ÓÉ jexchan
׫д
¡¡http://blog.ityao.com/archives/169
......
. Æ¥Åä³ý»»Ðзû"\n"ÍâµÄÈÎÒâµ¥¸ö×Ö·û¡£
[] Æ¥ÅäÀ¨ºÅÖÐ×Ö·ûµÄÈÎÒâÒ»¸ö¡£ÓÃ"-"ָʾ×Ö·ûµÄ·¶Î§¡£Èç¹ûµÚÒ»¸ö×Ö·ûÊÇÒÖÑï·ûºÅ"^"£¬ÄÇôËüµÄº¬Òå±äΪƥÅäÀ¨ºÅÄÚ×Ö·ûÒÔÍâÔ®ÈÎÒâ×Ö·û¡£
* Æ¥ÅäÇ°ÃæÕýÔò±í´ïʽµÄÁã´Î»ò¶à´Î³öÏÖ¡£
+ Æ¥ÅäÇ°ÃæÕýÔò±í´ïʽµÄÒ»´Î»ò¶à´Î³öÏÖ¡£
? Æ¥ÅäÇ°ÃæÕýÔò±í´ï ......
ÓÐÒ»¶Îʱ¼äûÓнӴ¥flex £¬Óе㲻Ôõ»áÓÃflex¡£»¹ºÃ×î½üŪÁËһϷÖÒ³µÄ¶«Î÷£¬¶Ôxml½øÐзÖÒ³»¹ÊÇͦ¹ÜÓ᣽èÓÃ֮ǰ·â×°ºÃµÄÀà¾ÓÈ»½â¾öºÜ¾Ã֮ǰµÄÎÊÌâ¡£¶ÔDataGrid µÄ×é¼þ·ÖÒ³£¬¿ÉÒÔͨ¹ý¶ÔXML½øÐÐһЩ´¦Àí£¬¿´ÆðÀ´ÕæµÄ·ÖÒ³ÁË¡£Êµ¼ÊÉÏÖ»ÊÇÒ»ÖÖ´í¾õ¡£
Ê×ÏÈÏÈ×¼±¸Ò»¸öÊý¾ÝÔ´XML¡£´ó¸ÅÒÔÒ»¸öÔ±¹¤×÷ÐÕÃû ÄêÁäºÍÐ ......
<?xml version="1.0"?>
<!-- charts/VerticalLineChart.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<!--[CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var expenses:ArrayCollection=new ......