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

flex ͼ±íʹÓðٷֱÈʾÀý

<?xml version="1.0"?>
<!-- charts/PredefinedAxisStyles.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

<mx:Script>
<!--[CDATA[
//µ¼ÈëÏà¹Ø°ü
import mx.collections.ArrayCollection;
import mx.charts.*;
import mx.charts.series.items.ColumnSeriesItem;
import mx.charts.ChartItem;
import mx.charts.chartClasses.Series;
import mx.charts.chartClasses.IAxis;
import mx.utils.ObjectUtil;

[Bindable]
public var expenses:ArrayCollection = new ArrayCollection([
{Month:"*", Profit:20, Expenses:15},
{Month:"**", Profit:10, Expenses:20},
{Month:"***", Profit:30, Expenses:40},
{Month:"****", Profit:15, Expenses:25},
{Month:"*****", Profit:40, Expenses:45}
]);



public function myLabelFormat(obj:Object,pcat:Object,ax:LinearAxis):String
{
return numForm.format(obj)+"%";
}

private function setCustomLabel(element:ChartItem, series:Series):String {
// Get a refereence to the current data element.
var data:ColumnSeriesItem = ColumnSeriesItem(element);

// Get a reference to the current series.
var currentSeries:ColumnSeries = ColumnSeries(series);

// Create a return String and format the number.
return numForm.format(data.yNumber) + "%";
}


// This method customizes the values of the axis labels.
// This signature (with 4 arguments) is for a CategoryAxis.
public function defineLabel(
cat:Object,
pcat:Object,
ax:CategoryAxis,
labelItem:Object):String
{
// Show contents of the labelItem:
for (var s:String in labelItem) {
trace(s + ":" + labelItem[s]);
}

// Return the customized categoryField value:
//return cat + "";

return '<font size="35"><font color="#ff0000">' + cat + '</font></font>';
//'<font color="#ff0000">'


Ïà¹ØÎĵµ£º

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

 ·ÏÂÃæ½éÉÜFlexÓë.NETµÄWebServiceµÄÊý¾ÝͨÐÅ֪ʶµã;°üÀ¨Á¬½ÓWebService£¬Ô¶³Ìµ÷ÓÃWebService·½·¨£¬¸øWebService·½·¨´«µÝ²ÎÊýµÈÏà¹ØÖªÊ¶µã¡£
¡¡¡¡<mx:WebServiceid="dataService"
¡¡¡¡¡¡¡¡wsdl="http://localhost/FlashFlex/DataWebService.asmx?wsdl"
¡¡¡¡¡¡¡¡useProxy="false">
¡¡¡¡¡¡¡¡<mx:ope ......

Flex RPGÓÎÏ·DEMO (2)£ºØ²ÕÛÆª

  ÓÉÓÚ±¾ÈË×î½üæÓÚÕÒ¹¤×÷ºÍ±ÏÒµÉè¼Æ£¬Ã»ÓÐʱ¼äÀ´¼ÌÐøÕâ¸öϵÁУ¬ ֻдÁ˵Úһƪ£¬×Ô¼ºÒ²Éî¸Ð²ÑÀ¢£¬Õâһƪ½éÉÜÒ»ÏÂÕâ¸ödemoµÄÕûÌå¼Ü¹¹°É£¬ÏÈÌùÏÂÏÂÔØµØÖ·¡£http://download.csdn.net/source/2118707
 Ä¿Ç°·þÎñ¶ËÒÑÍê³ÉµÇ½ע²áÄ£¿é£¬Ê¹ÓÃSocket±à³Ì£¬TCPЭÒé¡£µÈ·þÎñ¶ËÍê³É½«ÍêÕûµÄ±àдһ¸öϵÁеĽ̡̳£~~
  ......

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

Flex×é¼þÄÚÖÃÁË´¦ÀíÍÏקʼþµÄ½Ó¿Ú£¬ÓÐЩ¿Ø¼þÒѾ­ÊµÏÖÁËÍÏ×§¹¦ÄÜ£¬±ÈÈçList¡¢DataGrid¡¢Menu¡¢
HorizontalList¡¢ PrintDataGrid¡¢TileList¡¢Tree£¬ÔÚÉèÖÃÏà¹ØµÄÍÏ×§ÊôÐÔºó£¬ËüÃǶ¼¿ÉÒÔÔÚÏàͬÀàÐ͵Ä×é
¼þÖ®¼äÀûÓÃÊó±êÀ´ÊµÏÖÊý¾ÝµÄ×ªÒÆ¡£
allowDragSelection           ......

Flex Builder 3.0 for Eclipse

ÕâÁ½Ìì×¼±¸Ñ§Ï°Flex,ÓÚÊÇÏÂÔØÁËFlex Builder 3.0 For Eclipse plugin×¼±¸°²×°.
µ«Êǰ²×°ºóÆô¶¯Eclipse,ÕÒÁ˰ëÌìҲûÕÒµ½Flex.¶øÇÒFlex Builder»á°ÑJREÒ²°²×°.¾õµÃÕâÑùºÜ²»Ë¬.
ËùÒÔÎÒÏëµ½Äܲ»ÄÜÀ´¸öFlex BuilderÂÌÉ«°²×°·½·¨ÄØ.
Ïëµ½¾Í×ö.ÏÂÃæÊÇÎҵݲװ¹ý³Ì.(ǰÌáÊÇϵͳÒѾ­ÓÐJRE,ÇÒJAVA»·¾³±äÁ¿ÒѾ­ÅäÖÃOK,´Ë´¦ÂÔ¹ý¸ ......

flex ͼ±êÉèÖðٷֱȻòÕ߯äËü·ûºÅ

<?xml version="1.0"?>
<!-- charts/PredefinedAxisStyles.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

<mx:Script>
<!--[CDATA[
//µ¼ÈëÏà¹Ø°ü
import mx.collections.ArrayCollection;
import mx.charts.*;
import mx.charts.ser ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ