Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

flex as°æ¼ÆʱÆ÷


<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"
        creationComplete="init()">
 
    <mx:Script>
        <![CDATA[
            import flash.utils.Timer;
            import flash.events.TimerEvent;
 
            private const MIN_MASK:String = "00";
            private const SEC_MASK:String = "00";
            private const MS_MASK:String = "000";
            private const TIMER_INTERVAL:int = 10;
 
            private var baseTimer:int;
 
            private var t:Timer;
 
            private function init():void {
                t = new Timer(TIMER_INTERVAL);
                t.addEventListener(TimerEvent.TIMER, updateTimer);
            }
 
            private function updateTimer(evt:TimerEvent):void {
                var d:Date = new Date(getTimer() - baseTimer);
                var min:String = (MIN_MASK + d.minutes).substr(-MIN_MASK.length);
                var sec:String = (SEC_MASK + d.seconds).substr(-SEC_MASK.length);
                var ms:String = (MS_MASK + d.milliseconds).substr(-MS_MASK.length);
        &nbs


Ïà¹ØÎĵµ£º

Flex 4 : ʹÓà AreaChart ¿Ø¼þ

http://www.slsay.com/archives/154
ʹÓà AreaChart ¿Ø¼þ½«Êý¾ÝչʾΪÆäÏßÐͱ߽ç±íʾÊý¾ÝÖµµÄÃæ»ýÇøÓò¡£Ãæ»ýÇøÓòÓÉÏßÌõ¼°ÆäϱßËùÌî³äµÄÑÕÉ«ºÍͼ°¸×é³É¡£¿ÉÒÔʹÓÃͼ±ê»ò·ûºÅÑØ×ű߽çÏßչʾÿ¸öÊý¾Ýµã£¬Ò²¿ÉÒÔչʾ²»´øͼ±êµÄ¼òµ¥ÇøÓòÏß¡£
´´½¨ AreaChart ¿Ø¼þµÄÀý×ÓÈçÏ£º
<?xml version="1.0"
?>
< ......

Flex 4 : Chart ¿Ø¼þ


http://yecon.blog.hexun.com/36798900_d.html
ʹÓà Adobe Flex ²úÆ·ÏßµÄʱºò£¬²ÉÓÃͼ±íºÍͼÐÎÀ´Õ¹Ê¾Êý¾Ý»áʹÓû§ÓëÊý¾ÝµÄ½»»¥¸ü¼ÓÈÝÒס£Ïà¶Ô¼òµ¥µÄÊý×Ö±í¸ñÀ´Ëµ£¬¿ÉÒÔʹÓñíʾÊý¾ÝµÄ²»Í¬ÑÕÉ«¡¢±êÌâ¡¢ÏßÌõÀ´Õ¹Ê¾ÌõÐÎͼ¡¢±ýͼ¡¢ÏßͼµÈµÈ¡£
ͼ±í¿Ø¼þÊÇ Adobe Flash Builder רҵ°æµÄÌØÐÔ¡£Ò²¿ÉÒÔÔÚ Falsh Builder ±ê×¼°æÖ ......

Flex×Ô¶¨Òå×é¼þÓë×Ô¶¨Òåʼþ

1¡¢×Ô¶¨Òå×é¼þ
2¡¢×Ô¶¨Òåʼþ
3¡¢½áºÏʹÓÃ
Ò»¡¢×Ô¶¨Òå×é¼þ£¨Ê¹ÓõÄÊÇFlex×é¼þ£¬ActionScript×é¼þÏà¶ÔÂé·³µã£¬¿ÉÊÓ»¯²îµã£©
¸Ã×é¼þÓÉÒ»¸öTextAreaºÍÁ½¸öButton×é³É£¬Èçͼ£º
´úÂ룺
MyComponent.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width=" ......

flex °ÙÒ¶´°Ð§¹û

Blinds.as
package effects
{

import effects.effectClasses.BlindsInstance;

import mx.controls.scrollClasses.ScrollBarDirection;
import mx.effects.IEffectInstance;
import mx.effects.TweenEffect;

public class Blinds extends TweenEffect
{

......

SWFÖ®¼äͨÐÅ¡¢FlexÓëSWFÖ®¼äͨÐÅ¡¢C#ÓëSWFÖ®¼äͨÐÅ


SWFÖ®¼äͨÐÅ¡¢FlexÓëSWFÖ®¼äͨÐÅ¡¢C#ÓëSWFÖ®¼äͨÐÅ
Ò»¡¢SWFÖ®¼äͨÐÅ£¨¸÷SWFÎļþ¾ùûÓаüº¬¹Øϵ——·ÇÄÚ²¿Ç¶Èë¼ÓÔØ£¬¾ù¶ÀÁ¢£©
ʹÓà LocalConnection Àà¿ÉÒÔ´´½¨Ò»¸ö LocalConnection ¶ÔÏ󣬸öÔÏó¿ÉÔÚÒ»¸ö SWF ÎļþÖлò¶à¸ö SWF Îļþ¼ä£¬µ÷ÓÃÁíÒ»¸ö LocalConnection ¶ÔÏóÖеķ½·¨¡£ ͨ¹ý±¾µØÁ¬½Ó£¬¿ÉÒÔÔÚ SWF ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ