flexµÄButtonÖеÄtoggle²ÎÊýÔõôÓã¿
ÇëÎʸ÷λ´óϺ£º
<mx:Button label="Image Button"
toggle="true"
color="0xFFFFAA"
textRollOverColor="0xAAAA55"
textSelectedColor="0xFFFF00"
upSkin="@Embed(source='assets/buttonUp.gif')"
overSkin="@Embed(source='assets/buttonOver.gif')"
downSkin="@Embed(source='assets/buttonDown.gif')"
disabledSkin="@Embed(source='assets/buttonDisabled.gif')"
icon="@Embed(source='assets/logo.gif')"/>
</mx:Application>
ÇëÎÊtoggle²ÎÊýÊÇʲôÒâ˼£¬ÔõôÓã¿£¿
ÁíÍâÎÊһϣ¬flexÖеĺ¯Êý¿ÉÒÔ·µ»ØÖµÃ´£¬Èç¹ûÓУ¬Ôõô·µ»Ø£¿
ToggleÐͰ´Å¥
ÄܾßÌåЩô£¿²ÎÊýÓ¦É趨Ϊʲôֵ£¬Ð»Ð»
Ïà¹ØÎÊ´ð£º
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark&quo ......
ÈçÌ⣬ÇëÏê½â£¡£¡£¡
ʹÓÃflash.media.SoundMixer.stopAll();ÊÔÊÔ
package {
import flash.display.Loader;
import flash.display.Sprite;
import flash.ev ......
ÕýÔÚѧϰMenuBar¿Ø¼þ£¬µ«ÊÇMenuBarÖеÄiconĬÈÏÊÇÏÔʾÔÚ¸ù½ÚµãÎÄ×Ö×ó±ßµÄ£¬ÈçºÎµ÷Õûµ½ÓÒ±ßÈ¥¡£ÄѵÀÒªÖØÐ´ÀàÂ𣿸ոÕѧϰ£¬Ã»ÓÐÕâô¸ßˮƽ¡£µ½ÍøÉÏÕÒҲûÓÐÕâ·½ÃæµÄ×ÊÁÏ¡£
menu¼Ì³Ð×Ôlist¶ø²»ÊÇbutton£¬²»Ö§³ÖiconÓÒ ......
ÎÒ½«Ò»Ð©XMLÊý¾ÝдÔÚÁËÒ»¸öFLEX×Ô¶¨Òå×é¼þÉÏ£¬µ«ÔËÐз¢Éú´íÎó£¬Ó¦ÔõÑù½â¾öÄØ£¿
´íÎóΪÎÞ·¨¼ÓÔØXML
»¹ÓУ¬Èç¹ûÎÒÏëʵÏÖ´úÂë·ÖÀ룬Ӧ°ÑÕâЩXML·ÅÔÚʲôÀàÐ͵ÄÎļþÄØ£¿È»ºóÓÐÔõÑùµ¼ÈëÁË£¿
¿ÉÄÜÄãµÄxml µÄ¸ñÊ ......
ÎÒÏëÓÃflex linechartÏÔʾһ¸öquestion¶ÔÏóµÄÈý¸öÊôÐÔ£ºÌâÄ¿ºÅ£¬ ÄѶȣ¬ ÀàÐÍ¡£
yÖáÏÔʾÄѶȣ¬
xÖáÏÔʾÌâÄ¿ºÅ£¬
È»ºó¸ù¾ÝÀàÐÍ£¬ÏÔʾ²»Í¬ÑÕÉ«µÄÏ߶Ρ£
±ÈÈ磺1-10µÀÌâÄ¿ÊÇÑ¡ÔñÌ⣬ÏÔʾºìÉ«Ï߶Σ¬11-2 ......