Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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¼ÓÔØÍⲿswfÎļþ£¬²¢ÇÒ»¥ÏàͨѶ

´ÓÍøÉÏתÔصģ¬»¹Ã»Ê±¼ä¼ø¶¨£¬ÔݼǼÔÚÕâÀï
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. ......

MyEclipse 7.5,MyEclipse 8.0Öа²×°Flex²å¼þ

²»¿É·ñÈÏMyEclipseÏÖÔÚÔ½×öԽǿ´ó£¨±Ï¾¹ÊÇÊշѵÄÂ£¬Ç¿´óµ½¿ªÊ¼ÅųâµÚÈý·½²å¼þ£¬ÕâÓÐЩ²»·ûºÏEclipseµÄ³õÖÔ£¬Eclipse¾ÍÊÇ¿¿Á¼ºÃµÄÀ©Õ¹ÐÔ·¢Õ¹ÆðÀ´µÄ¡£
MyEclipse´Ó7.5¿ªÊ¼£¨7.0ûÓùý£¬²»ÖªµÀ£©£¬ÍêÈ«¸Ä±äÁ˳ÌÐò½á¹¹£¬ÏÖÔÚÀ©Õ¹µÚÈý·½²å¼þ ÔÙҲûÓÐÒÔÇ°ÄÇô·½±ãÁË£¬ÌرðÊÇlink·½Ê½£¬Õâ¶Ô³ÌÐòÔ±À´ËµÊÇÖÂÃüµÄ¡£Flex Plugin ° ......

flex ¹ö¶¯ÌõÎÊÌâ

flex¹ö¶¯ÌõËäÈ»ºÜºÃÓ㬵«×ÜÊÇ»á³öÏÖÒâÏë²»µ½µÄÎÊÌ⡣ǰ¼¸Ìì˵ÁË£¬Í϶¯ºó»¨ÆÁµÄÎÊÌ⣬½ñÌìÓÖ·¢ÏÖÁ˸ü¶ñÐĵÄÎÊÌâ¡£µ±Äã°ÑÈÝÆ÷µÄ¿í¶Èµ÷Ϊ100%ºó £¬verticalScrollbarPolicy ÓÃĬÈϵÄauto¡£ÕâÊÇÈç¹ûÄãËõ·Å´°¿Ú»á³öÏÖ¹ö¶¯Ìõ£¬µ«ÎÊÌâÕâÊǾͳöÏÖÁË£¬Ö»Òª³öÏÖÁË´¹Ö±¹ö¶¯Ìõ£¬Ë®Æ½¹ö¶¯Ìõ¾ÍÊDZ»ÆȳöÏÖ¡£
<?xml version="1.0" enco ......

Flex Builder 3 ÏÂÔØ°²×°Óë×¢²áÂë(ת)

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/ ......

Flex¼¼Êõ£¬³õ¼¶ÎÊÌ⣬°ï°ï棡лл£¡

½ñÌì¸Õ½Ó´¥Flex£¬µ«Êǵ±ÎÒ°Ñ´úÂë±àдÍê³ÉÔËÐеÄʱºò±¨ÏÂÁËÈçÏ´íÎó£º
C:\WINDOWS\system32\Macromed\Flash\Flash10e.ocx
Flex Builder cannot locate the required debugger version of Flash Player.
You might need to install the debugger version of Flash Player 9 or
reinstall Flex Builder.
Do you want to ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ