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">'
Ïà¹ØÎĵµ£º
Ìáµ½web¼´Ê±Í¨ÐÅ£¬¿ÉÄÜ´ó¼ÒÁ¢¼´»áÏëµ½ajax¶¨Ê±ÇëÇó¡¢·þÎñÆ÷ÍÆµÈ½â¾ö·½°¸£¬µ«ÕâÀïÎÒҪ˵µÄÊÇÒ»ÖÖ×ۺϵĽâ¾ö·½°¸£¬Ê¹ÓÃAdobeµÄFlex XmlSocket¡¢javascriptÒÔ¼°·þÎñÆ÷¶Ë¼¼Êõ£¬½¨Á¢ÕæÕýµÄweb¼´Ê±Í¨ÐÅ¡£µ±È»Õ⻹ÊÜÒæÓÚflashµÄÆÕ¼°£¬´ó²¿·ÖÓû§µÄä¯ÀÀÆ÷¶¼°²×°ÁËFlash player²å¼þ£¬´Ó¶ø±£Ö¤´Ë·½°¸Î ......
´ÓÍøÉÏ×ªÔØµÄ£¬»¹Ã»Ê±¼ä¼ø¶¨£¬ÔݼǼÔÚÕâÀï
http://blog.csdn.net/zyjasp/archive/2008/05/16/2452175.aspx
µÚÒ»²½:½¨Á¢¼ÓÔØÀà[CtmObjLoader],´ËÀà¿ÉÒÔ¼ÓÔØÎļþÀàÐÍ [ͼƬÎļþ»òswfÎļþ]
package
{
import flash.display.DisplayObject;
import flash.display.Loader;
import flash.events.*;
import flash. ......
ÏûÏ¢·þÎñ(Message Service )Ìṩ·¢²¼(publish)/¶©ÔÄ(subscribe)»úÖÆÔÊÐíFlex Ó¦ÓóÌÐò·¢²¼ÏûÏ¢¡¢¶©ÔÄÏûÏ¢ÖÕ¶Ë(messaging destination)£¬´Ó¶øÊµÏÖʵʱÊý¾ÝµÄÍÆºÍÐ×÷¡£
¡¡¡¡Ò»¡¢Message Service
¡¡¡¡Message Service Ìṩ·¢²¼(publish)/¶©ÔÄ(subscribe)»úÖÆÔÊÐíFlex Ó¦ÓóÌÐò·¢²¼ÏûÏ¢¡¢¶©ÔÄÏûÏ¢ÖÕ¶Ë(messaging des ......
Flex Builder 3 ÏÂÔØ°²×°Óë×¢²áÂë(ת)
Flex Builder 3 Õýʽ°æ£¬·¢²¼ÓÚÖйúʱ¼ä 2008 Äê 2 Ô 25 ÈÕ£»
ÏÂÔØµØÖ·Ò»£º
http://download.macromedia.com/pub/flex/flex_builder/FB3_win.exe
´óС£º 424 MB £»Î´½øÐÐѹËõµÄ Flex Builder 3 °²×°Îļþ
²»ÓÃ×¢²áµÇ¼£¬¿ÉÒÔÖ±½ÓÏÂÔØ¡£
ÏÂÔØµØÖ·¶þ£º
http://trials.adobe.com/ ......
<?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 ......