http://www.k-zone.cn/zblog/post/flex-compiler-parameter.html
ÏÂÃæµÄÁбíÌṩÁËmxmlcµÄһЩ¿ÉÑ¡²ÎÊý£º
ÊôÐÔ
ÃèÊö
accessible=true|false
ÊÇ·ñ¾ßÓпÉÀí½âÐÔ
actionscript-file-encoding
ÉèÖÃÎļþ±àÂë
advanced | mxmlc -help advanced
¼ìË÷mxmlc¸ß¼¶²ÎÊý
allow-source-path-overlap=true|false
ÑéÖ¤source-pathÖж¨ÒåµÄ·¾¶ÊÇ·ñ³öÏÖÖصþ£¬³öÏÖ»¥Ïà°üº¬µÄÏÖÏó
as3=true|false
ÊÇ·ñʹÓÃas3¶ÔÏóÄ£ÐÍ£¬Ä¬ÈÏΪture£¬Èç¹ûÑ¡false£¬ÔòesÒ»¶¨Òª¶¨ÒåΪtrue
benchmark=true|false
ÊÇ·ñÊä³ö±àÒëʱÆÚµÄÏêϸÄÚÈÝ£¬Ä¬ÈÏÊÇtrue
context-root
context-path
ÉèÖÃflex-services.xmlÖеÄ{context.root}£¬Èç¹ûûÓÐÏêϸ¶¨Ò壬ÄÇflex½«ÓÿÕÖµ¡£
contributor name
creator name
Ìí¼Óµ½swfÎļþÀnameÊÇ×÷ÕßµÄÃû×Ö
date text
debug=true|false
ÊÇ·ñ¿ÉÒÔ½øÐе÷ÊÔ
debug-password string
Ô¶³Ìµ÷ÊÔÓã¬ÉèÖÃÃÜÂë
default-background-color int
ĬÈϱ³¾°ÑÕÉ«
default-frame-rate int
ÉèÖÃÖ¡Êý£¬Ä¬ÈÏΪ24
default-script-limits
¶¨ÒåÓ¦Óýű¾³ÌÐòµÄÖ´ÐÐÏÞÖÆ
max-recursion-depth
×î´óµÄµÝ¹éĬÈÏÊÇ£º1000
max-execution-time
×î´óµÄÖ´ÐÐʱ¼äÄ ......
http://www.k-zone.cn/zblog/post/flex-compiler-parameter.html
ÏÂÃæµÄÁбíÌṩÁËmxmlcµÄһЩ¿ÉÑ¡²ÎÊý£º
ÊôÐÔ
ÃèÊö
accessible=true|false
ÊÇ·ñ¾ßÓпÉÀí½âÐÔ
actionscript-file-encoding
ÉèÖÃÎļþ±àÂë
advanced | mxmlc -help advanced
¼ìË÷mxmlc¸ß¼¶²ÎÊý
allow-source-path-overlap=true|false
ÑéÖ¤source-pathÖж¨ÒåµÄ·¾¶ÊÇ·ñ³öÏÖÖصþ£¬³öÏÖ»¥Ïà°üº¬µÄÏÖÏó
as3=true|false
ÊÇ·ñʹÓÃas3¶ÔÏóÄ£ÐÍ£¬Ä¬ÈÏΪture£¬Èç¹ûÑ¡false£¬ÔòesÒ»¶¨Òª¶¨ÒåΪtrue
benchmark=true|false
ÊÇ·ñÊä³ö±àÒëʱÆÚµÄÏêϸÄÚÈÝ£¬Ä¬ÈÏÊÇtrue
context-root
context-path
ÉèÖÃflex-services.xmlÖеÄ{context.root}£¬Èç¹ûûÓÐÏêϸ¶¨Ò壬ÄÇflex½«ÓÿÕÖµ¡£
contributor name
creator name
Ìí¼Óµ½swfÎļþÀnameÊÇ×÷ÕßµÄÃû×Ö
date text
debug=true|false
ÊÇ·ñ¿ÉÒÔ½øÐе÷ÊÔ
debug-password string
Ô¶³Ìµ÷ÊÔÓã¬ÉèÖÃÃÜÂë
default-background-color int
ĬÈϱ³¾°ÑÕÉ«
default-frame-rate int
ÉèÖÃÖ¡Êý£¬Ä¬ÈÏΪ24
default-script-limits
¶¨ÒåÓ¦Óýű¾³ÌÐòµÄÖ´ÐÐÏÞÖÆ
max-recursion-depth
×î´óµÄµÝ¹éĬÈÏÊÇ£º1000
max-execution-time
×î´óµÄÖ´ÐÐʱ¼äÄ ......
¶ªÊ§¾²Ä¬´íÎó£¨SILENT ERROR£©
ÔÚijЩÇéÐÎÏ£¬°ó¶¨²Ù×÷Ëƺõ²»ÄÜÕý³£¹¤×÷£¬´ËʱÄã¿ÉÄܷdz£°ÃÄÕ²¢ÇÒ²»ÖªµÀÈçºÎ½øÐд¦Àí¡£
Óɰ󶨱í´ïʽÅ׳öµÄ¡¢»òÔڰ󶨿ò¼Üµ÷Óõİ󶨺¯ÊýÖгöÏÖµÄÒì³£ºÍ´íÎó¿ÉÒÔ±»¾²Ä¬²¶»ñ¡£Òò´Ë£¬Ä㽫²»»á¿´µ½ÔËÐÐʱÒì³££¬¶øÕâÔÚ Flash Player µÄµ÷ÊÔ°æ±¾ÖÐÊÇÄܹ»¿´µ½µÄ¡£Õâʱ£¬²»½ö°ó¶¨²Ù×÷²»Äܹ¤×÷£¬¶øÇÒϵͳ²»»áÏÔʾ´íÎó¡£
Ϊʲô´íÎó±»¾²Ä¬²¶»ñ£¿
Ôڰ󶨲Ù×÷·¢Éú֮ǰ£¬ÊµÏְ󶨻úÖƵĴúÂëÒªÇóÂú×ãÈô¸ÉÌõ¼þ¡£°ó¶¨»úÖƽ«ÍÌûËùÓдíÎóÒÔ±ã×èÖ¹ÔÚÔËÐÐʱ¹ý³ÌÖÐÅ׳öÔËÐÐʱÒì³£¡£ÕâÊÇÒ»ÖֺܺõĻúÖÆ£¬ÒòΪÄ㲻ϣÍûÔÚÄãµÄÓ¦ÓóÌÐòÖп´µ½ÕâЩ£¨¿ÉÄܵģ©ÒâÍâ´íÎó¡£
Çë²é¿´ÏÂÃæ¼òµ¥°ó¶¨·¶Àý£º
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
minWidth="1024" minHeight="768"
preinitialize="handlePreinitialize()">
<fx:Script>
<![CDATA[
[Bindable]
private var xml:XML ......
ÔÀ´ÊÇÕâÑù£¬
ÎÒÒ»¿ªÊ¼ÓõÄÊÇflex_sdk_3.4.1.10084£¨Stable Builds£©£¬£¨ÓÉÓÚsdk3.5ÓÐcomboboxµÄbug£©,µ«ÊÇÔÚÓÃRSLµÄʱºò£¬·¢ÏÖflash player µÄAssetCacheÀï¾ÍÊÇûÓÐswz,
ÔÒòÊÇ£ºÎÒÓõÄsdkÊÇStable Builds£¬ËüÊÇûÓÐswzµÄ£¬
¹ÙÍøµÄ½âÊÍÊÇ£º
The Flex team dos not currently create signed versions of the major RSLs for stable builds as it would begin negating the value of the framework cache (that said, we'll be keeping an eye on things and re-evaluating as necessary).
×îºóÎÒÖ»ÄÜÓÃsdk3.4.0.9271(Latest Milestone Release Builds),Õâ¸öÊÇÓÐswzµÄ£¬
¹ÙÍøµÄ½âÊÍÊÇ£º
The Flex team creates signed versions of the major RSLs for every milestone release.
ÔÙ˵һÏ£¬ÎÒ¶Ôsdk3.6²»Ì«ÏàÐÅ£¬ºÃ¼¸¸öÔÂÁË£¬Ò»Ö±¶¼²»¸üÐÂ3ϵÁеÄsdk,¹À¼ÆÊDz»ÊÇÓÐÎÊÌâ¡£
......
×î½üÔÚŪFLEXµÄͼ±í, ·¢ÏÖCHART ÖеÄLegend µÄ×ÖÌåͨ¹ýÖ±½ÓÉèÖÃStyle ²¢Ã»Óа취¸Ä±ä×ÖÌå´óС.
google ÁËÏÂ, ·¢ÏÖÁËÕâ¸ö·½·¨: ͨ¹ýÅÉÉúLegendItemÀ࣬²¢ÉèÖÃLegendµÄItemClassÊôÐÔÀ´ÊµÏÖ¡£
LegendItem ÊÇLengend µÄÔªËØ, ¾ÍÊÇÀïÃæÒ»¸öÒ»¸öµÄͼʾ. ͨ¹ýÅÉÉúÕâ¸öÀà, ¾Í¿ÉÒÔÐÞ¸ÄÆäÏàÓ¦µÄÑùʽ.
ÅÉÉúLegendItem Àà, ²¢ÉèÖÃÑùʽ.
BigFontLegendIte.as
package com
{
import mx.charts.LegendItem;
public class BigFontLegendItem extends LegendItem
{
public function BigFontLegendItem()
{
super();
this.styleName = "<STRONG>ChineseFont</STRONG>
";
}
}
}
2. È»ºó¶¨ÒåÑùʽ, ÔÚ Legend ÖÐÖ±½ÓÖ¸¶¨legendItemClass Ϊ BigFontLegendIte
<mx:Style>
.<STRONG>ChineseFont</STRONG>
{
fontFamily:"Verdana","ËÎÌå";
fontSize:12;
}
</mx:Style>
<mx:Legend legendItemClass="com.BigFontLegendItem " />
ÕâÑù¾Í¿ÉÒÔÉèÖÃLegend ÖеÄ×ÖÌå´óС»òÕßÑùÊ ......
Ç°Ò»ÕóÔÚÂÛ̳ÉÏ¿´µ½Ò»¸öÐֵܣ¬ÏëÔÚFlex ChartÖÐΪͼÀýÉèÖÃ3DЧ¹û,½ü¼¸Ìì²éÕÒÁËЩ×ÊÁÏ£¬¶¯ÊÖ×öÁ˸öDEMO¹©´ó¼Ò²Î¿¼!
DEMOÑÝʾµØÖ·http://xingjunli.webs.com/flash/flexChartDemo.swf,ÏÈÀ´¸öͼƬ¿´¿´×îÖÕЧ¹û:
Ïà¹Ø֪ʶµã
1¡¢Í¼±íʹÓõÄÎҾͲ»¶à×ö½éÉÜÁË£¬ÍøÉÏÒ²ºÜ¶à¹Ù·½Ò²Óв»´íµÄ½Ì³Ì(²Î¿¼:Skinning ChartItem objects );
2¡¢Òª×Ô¶¨Òåͼ±íSeries,ÎÒÃÇÒª×öµÄ¾ÍÊÇÖØдProgrammaticSkin»ùÀಢʵÏÖIDataRenderer½Ó¿Ú·½·¨ÖеÄupdateDisplayList·½·¨,ÔÚSeriesÖÐÓ¦ÓÃÎÒÃÇ×Ô¶¨ÒåµÄÍâ¹ÛÀà“drawhelper.histogramSkin”¾ÍºÃÁËÈç:
<mx:ColumnSeries showDataEffect="slideIn" hideDataEffect="slideOut" xField="label" yField="value" itemRenderer="drawhelper.histogramSkin" />
3¡¢ÎÒÃÇÕâÀïʹÓÃGraphicÔÚ2D³¡¾°ÖлæÖÆ£¨3D£©Á¢·½ÌåµÄ·½Ê½»æÖÆSeries£¬ÏÈÀí½âÓ¦ÓÃ3D×ø±ê(ÔÚSeriesÖлæÖÆÊÇ´ÓÏÂÏòÉÏ»æÖƵÄËùÄã¿´µ½µÄ»æÖƹý³ÌÖÐ×ø±êϵ¸ÕºÃÊǵ¹×ª¹ýÀ´µÄ)Èçͼ:
ʵÏÖ¹ý³Ì¼°´úÂë:
1¡¢×Ô¶¨ÒåÁ¢·½Í¼Íâ¹ÛÀࣺ
package dra ......
×ܼǼÊý:792; ×ÜÒ³Êý:132; ÿҳ6 Ìõ;
Ê×Ò³ ÉÏÒ»Ò³ 1
[2] [3] [4] [5] [6] [7] [8] [9] [10] ÏÂÒ»Ò³ βҳ