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

Flex Timer¶¨Ê±Æ÷µÄÓ¦Óã¨×ª£©

flash.util.TimerÀà
    flash.util.TimerÀàÔÊÐíͨ¹ýÌí¼Óʱ¼äʼþ»òÑÓʱÀ´µ÷Ó÷½·¨¡£Í¨¹ýTimer¹¹ÔìÆ÷´´½¨ÊµÀý¶ÔÏ󣬴«µÝÒ»¸öºÁÃëÊý×Ö×÷Ϊ¹¹Ôì²ÎÊý×÷Ϊ¼ä¸ôʱ¼ä£¬ÏÂÃæµÄÀý×ÓʵÀý»¯Ò»¸öTimer¶ÔÏóÿ¸ö1ÃëÖÓ·¢³öʼþÐźţº
    var timer:Timer = new Timer(1000);
   
Ò»µ©´´½¨ÁËTimerʵÀý£¬ÏÂÒ»²½±ØÐëÌí¼ÓÒ»¸öʼþ¼àÌýÆ÷À´´¦Àí·¢³öµÄʼþ£¬Timer¶ÔÏó·¢³öÒ»¸öfalsh.event.TimerEventʼþ£¬
ËüÊǸù¾ÝÉèÖõļä¸ôʱ¼ä»òÑÓʱʱ¼ä¶¨Ê±·¢³ö¡£ÏÂÃæµÄ´úÂ붨ÒåÁËÒ»¸öʼþ¼àÌý£¬µ÷ÓÃonTimer()·½·¨×÷Ϊ´¦Àíº¯Êý£º
    timer.addEventListener(TimerEvent.TIMER, onTimer);
    function onTimer(event:TimerEvent):void{
         trace("on timer");
    }
    Timer¶ÔÏó²»»á×Ô¶¯¿ªÊ¼£¬±ØÐëµ÷ÓÃstart()·½·¨Æô¶¯£º
    timer.start();
    ĬÈÏÇé¿öÏÂÖ»Óе÷ÓÃstop()·½·¨²Å»áÍ£ÏÂÀ´£¬²»¹ýÁíÒ»ÖÖ·½·¨ÊÇ´«µÝ¸ø¹¹ÔìÆ÷µÚ¶þ¸ö²ÎÊý×÷ΪÔËÐдÎÊý£¬Ä¬ÈÏֵΪ0¼´ÎÞÏ޴Σ¬ÏÂÃæµÄÀý×ÓÉ趨¶¨Ê±Æ÷ÔËÐÐ5´Î£º
    var timer:Timer = new Timer(1000, 5);
    ÏÂÃæµÄ´úÂëÉ趨¶¨Ê±Æ÷ÑÓʱ5ÃëÖ´ÐÐdeferredMethod()·½·¨£º
    var timer:Timer = new Timer(5000, 1);
    timer.addEventListener(TimerEvent.TIMER, deferredMethod);
    timer.start();


Ïà¹ØÎĵµ£º

FLEX ArrayºÍArrayCollectionµÄÇø±ð

µ±ArrayµÄÊý¾Ý·¢Éú±ä»¯µÄʱºò£¬ÓÃËü×÷ΪÊý¾ÝÔ´µÄ¿Ø¼þ²»ÄܸÐÖªÕâÖֱ仯¡£
ÀýÈ磺myArray.push("new value"); Õâʱ£¬Èç¹ûÒ»¸öListÓÃËü×÷ΪdataProvider£¬ListµÄÁбíÖв»»áÔö¼ÓмÓÈëµÄÕâ¸öÖµ¡£
¶øµ±ArrayCollectionµÄÊý¾Ý·¢Éú±ä»¯µÄʱºò£¬Äܹ»Í¨Öª¿Ø¼þ·¢Éú±ä»¯¡£
ÀýÈ磺myArrayCollection.addItem("new item"); Õâʱ£¬È ......

FlexÖеÄRemoteClass meta tagµÄʹÓÃ˵Ã÷

簡單µÄ來說£¬RemoteClassÊÇÔÚ編寫 ActionScript Class 檔時¸æÖª該 ActionScript Class ÊÇ對應µ½ÄÄ個遠¶¨¶ËµÄ Class 檔(·ÇActionScript),舉個Àý×Ó來說£¬ÈôÔÚ遠µØ¶ËÓÐ個 Java Object Ãû為 T ......

ʹÓÃCairngorm¿ª·¢Flex£¨¶þ£©£ºÒ»¸öºÃÓѹÜÀíÀý×Ó

ÐèҪ׼±¸£º
ÔÚ¿´Õâ¸öÀý×Ó֮ǰ£¬È·±£¾ß±¸ÒÔÏÂÌõ¼þ£º
¶Á¶®ÁËʹÓÃCairngorm¿ª·¢Flex£¨Ò»£©£¬Àí½âCairngormµÄ¹¹¼ÜÊÇÔõÑùµÄ¡£
¾ßÓÐÒ»¶¨µÄjava֪ʶ¡£
ÖªµÀflex sdk4¡£
Àý×ӵĻ·¾³ºÍ¹¤¾ß£º
Flex builder 4¡£ÏÂÔغÜÈÝÒ×ÕÒµ½¡£Õâ¸öÀý×ÓÒ²ÊÇÎÒÓÃfb4дµÄµÚÒ»¸öÀý×Ó£¬·¢ÏÖ¸úfb3ºÜ¶à²»Í¬£¬ÒªÖØÐÂѧϰ£¬Í´¿àµÄתÐÍ°¡£¬Àá±¼~¡£
Mysq ......

JAVAºÍFlexÃô½Ýµ÷ÓÃ(Ò»)

   ÔÚjavaÏîÄ¿¼¯³Éflex¿ª·¢ÔÚweb2.0ÊÇÊÇÒ»¸öÊ®·ÖÓмÛÖµµÄ¿ª·¢·½°¸£¬ÌرðÔÚÆóÒµ¼¶µÄÓ¦ÓÃÖУ¬flexºÍjava¼äµÄͨѶԽÏÔÖØÒª¡£µ«ÊÇÏÖÔÚµÄjavaºÍflexµÄ¿ò¼ÜËäÈ»¶à£¬µ«Êǹ²Í¨ÐÔ²»´ó¡£¾ÍÊÇͨ¹ý´«Í³µÄwebserviceµ÷Óã¬Ò²ÒòΪЧÂÊÎÊÌâºÍ½âÎöxmlµÄ·±ÖصŤ×÷£¬ºÜ¶àÏîÄ¿¿ª·¢ËٶȺÍά»¤ÏÞÖƽϴó¡£ÔÚ½üÀ´ÏîÄ¿£¬ÎÒÔÚ¹«Ë¾³¢Ê ......

flex¶àÎļþÉÏ´«¹¤¾ß

   flex¶àÎļþÉÏ´«¹¤¾ß£¨×ÔÓã©
JAVAÀà
package com.shine.framework.flexUpload;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Iterator;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet; ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ