Flex 4 £ºÊ¹Óà Halo Ö÷Ìâ
´ËÀýչʾÁËÈçºÎÔÚ Flex 4 ÖÐΪ Halo ¿Ø¼þÉèÖÃ¾ÉµÄ Halo Ƥ·ô£¬¶ø²»ÊÇÐ嵀 Spark Ƥ·ô¡£
<?xml version="1.0" encoding="utf-8"?>
<!-- http://www.slsay.com/archives/131 -->
<s:Application name="Spark_Halo_theme_test"
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo">
<s:VGroup horizontalCenter="0" verticalCenter="0" >
<s:Button id="sBtn"
label="I'm a Spark Button" />
<mx:Button id="hBtn"
label="I'm a Halo Button" />
</s:VGroup>
</s:Application>
×îºó£¬ÐèÒªÓà halo.swc Ö÷Ìâ¸Ä±ä Flex ±àÒëÆ÷µÄ²ÎÊý£º
ÔÚ Flash Builder 4 µÄÖ÷²Ëµ¥ÖÐÑ¡Ôñ Project -> Properties
´Ó×ó±ßµÄ²Ëµ¥ÖÐÑ¡Ôñ Flex ±àÒëÆ÷
ÔÚ Additional compiler arguments ÖУ¬Ìí¼ÓÈçϲÎÊý£º
-theme=${flexlib}/themes/Halo/halo.swc
µã»÷ OK °´Å¥£¬Ó¦Óøü¸Ä²¢¹Ø±Õ¶Ô»°¿ò
ÖØбàÒë²¢ÔËÐÐÓ¦ÓóÌÐò
Ó¢ÎÄÔÎÄ£ºhttp://blog.flexexamples.com/2009/07/14/using-the-halo-theme-in-flex-4/
±¾ÎÄת×Ô£ºhttp://www.slsay.com/archives/131
Ïà¹ØÎĵµ£º
<?xml version="1.0"?>
<!-- charts/BasicSeriesSlideEffect.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<!--[CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var expenses1:ArrayCollectio ......
ÍøÂç×´¿öÊÇ»¥ÁªÍø·¢Õ¹ÓëÈí¼þ·¢Õ¹µÄÒ»¸öºÜ´óµÄÆ¿¾±£¬Èç¹ûÄÄÌì·ÃÎÊÍøÉÏ×ÊÔ´ÄÜÏó·ÃÎʱ¾µØÓ²ÅÌ£¬»òÕßÄÜÏó·ÃÎÊÄÚ´æÄÇÑù¿ì£¬ÄÇÑùÔÛÃǵļÆËã»úÒÔºóÖ»ÐèÒªÊäÈëÊä³öÉ豸ÒÔ¼°ÍøÂçÉ豸¾Í¿ÉÒÔÁË£¬¹þ¹þ£¬ÕâÖ»ÊÇÒ»¸öÃÀºÃµÄÔ¸Íû¡£
FlexÓ¦ÓÃÔÚWeb¿ª·¢ÉÏ£¬±ÜÃâ²»ÁËÍøÂçÎÊÌ⣠......
Dreamweaver MX 2004 »òÆäËûÎı¾±à¼Æ÷£¨ÀýÈç¼Çʱ¾£©£¬ÓÃÀ´±à¼XMLºÍActionScript´úÂë
ÈçͬËùÓеÄXMLÓïÑÔÒ»Ñù£¬ÔÚMXMLÖУ¬±êÇ©ºÍÊôÐÔ¶¼ÊÇÇø·Ö´óСдµÄ£»
ËùÓеÄÊôÐÔÖµ±ØÐëÓÃË«ÒýºÅ(")»òµ¥ÒýºÅ(°üº¬
ËùÓеıêÇ©±ØÐëÊDZպϵġ£Ã»ÓÐ×Ó±êÇ©µÄ±êÇ©¿ÉÒÔÒÔб¸ÜÖ±½Ó½áÊø£¬¶øÎÞÐè¶îÍâµÄ½áÊø±êÇ©£º
<mx:Label ......
1.ʲôÊǺ¯Êý£¬º¯ÊýµÄÁ½ÖÖ¶¨Ò巽ʽ
2.²ÎÊý,´«ÖµºÍ´«Ö·£¬Ä¬ÈϲÎÊý¡¢²ÎÊý·ÃÎÊÐÅÏ¢ºÍ±ä³¤²ÎÊý
3.º¯ÊýµÄ±äÁ¿(È«¾ÖºÍ¾Ö²¿)
4.´úÀíº¯Êý¶ÔÏóºÍº¯ÊýÖ´ÐжÓÁÐ
5.·µ»Øº¯ÊýÀàÐͺͱհü
6.applyµÄÓ¦ÓÃ(·½·¨½Ù³Ö£¬¼Ì³ÐÊôÐÔ)
ÏÂÔصØÖ·:as3_4º¯Êý ......