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Óë.NET½áºÏ¿ª·¢ÖеÄһЩ»¥²Ù×÷ÐÔ£¬°üÀ¨ÍøÂçͨÐÅ¡¢Êý¾Ý¼ÓÔØ¡¢Êý¾Ý´«Êä¡¢Îļþ´«Êä¡¢ÒÔ¼°Ó¦ÓÃÓÚFlexÓë.NETÐ×÷¿ª·¢µÄͨÐÅÍø¹Ø¿ªÔ´ÏîÄ¿FluorineFxµÄÏà¹Ø֪ʶµã¡£
¿ªÔ´ÏîÄ¿FluorineFx¾ÍÊÇרÃÅÕë¶Ô.NETƽ̨ÓëFlexͨÐÅÌṩµÄAMFÐÒéͨÐÅÍø¹Ø£¬ÎÒÃÇ¿ÉÒÔͨ¹ ......
ÈóǬ¼´Ê±±¨±í²»½ö¿ÉÒÔͨ¹ýÍÏקµÄ·½Ê½ÇáËÉʵÏÖ¸÷ÖÖ³£¼ûÀàÐ͵Äweb±¨±íÖÆ×÷£¬¶øÇÒÔÚÕ¹ÏÖ±¨±íʱ»¹ÌṩÁËÁé»îµÄFlex¹¤¾ßÌõ£¬¿ÉÒÔͨ¹ýFlex¹¤¾ßÌõʵÏÖµ÷ÕûÁÐ¿í¡¢ÅÅÐòºÍ¹ýÂËÏÔʾÊý¾ÝµÈ¹¦ÄÜ¡£ÏÂÃæ¾ÍÏȼòµ¥µÄ½éÉÜÒ»ÏÂÈçºÎʹÓÃFlex¹¤¾ßÌõʵÏÖÊý¾Ý°´Ä³ÁÐÅÅÐò¡£ ÎÒÃÇÉè¼ÆÒ»¸ö¼òµ¥ÀàÐ͵ı¨±í£¬±¨±í²é¿´ÈçÏÂͼ ÏÖÔÚÎÒÃÇÉèÖÃÊý¾Ý°´ÕÕ ¹ÍÔ± ......
Ò»¸öÊý¾ÝÄ£Ð;ÍÊÇÒ»¸öActionScript¶ÔÏó£¬Õâ¸ö¶ÔÏóµÄÊôÐÔÓÃÀ´´æ´¢Ó¦ÓóÌÐòÖ®µØÄãµÄÊý¾Ý¡£ÔÚÏò·þÎñÆ÷·¢ËÍÊý¾Ý֮ǰ£¬»òÕß´Ó·þÎñÆ÷½ÓÊÕÊý¾Ýµ«»¹Ã»ÓÐʹÓÃ֮ǰ£¬Êý¾ÝÄ£ÐÍÌṩһ¸öÔÚFlexÓ¦ÓóÌÐòÖд洢Êý¾ÝµÄ;¾¶¡£Adobe FlexÓ¦ÓóÌÐòÓë·þÎñÆ÷Ö®¼äµÄͨÐÅÖ»·¢ÉúÔÚFlexÓ¦ÓóÌÐòÐèÒª¼ìË÷µÄÊý¾ÝÉÐδ¿ÉÓ㬺ÍʹÓÃFlexÓ¦ÓóÌÐòÖеÄÐÂÊý¾Ý ......
1.µ±ÏÂÔØÁËflash builder 4 beta £¬°²×°Æô¶¯Ê±ºò£¬»ØÌáʾÊäÈë×¢²áÂë¡£¿Éͨ¹ýÍøÖ·https://freeriatools.adobe.com/flashbuilder4beta/ ÊäÈëFlex Builder 3 Serial #: À´»»È¡ builder 4 betaµÄ×¢²áÂë¡£ÔÚÓʼþÖвéÊÕ
2.ͨ¹ýhttp://www.adobe.com/devnet/flex/videotraining/flex4beta/À´Ñ§Ï°flex4.¸öÈ˸оõvideo×öµÄºÜ²» ......