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

FlashʹÓ÷þÎñÆ÷ʱ¼ä

ÔÚ×öFlashÓ¦ÓÃʱ£¬ÓÐʱ¿ÉÄÜ»áÓöµ½ÐèҪʹÓ÷þÎñÆ÷ʱ¼äµÄÇé¿ö£¬ÀýÈçÓ¦ÓóÌÐòÖÐÏÔʾµ±Ç°ÏµÍ³Ê±¼ä¡¢¶¨Ê±ÌáÐѵȹ¦ÄÜ¡£Ê¹ÓÃnew Date()´´½¨µÄÊÇ¿Í»§¶ËµÄʱ¼ä£¬Õâ²¢²»ÊÇÎÒÃÇÐèÒªµÄ£¬¿Í»§¶Ëʱ¼äºÜÈÝÒ×±»Óû§¸ü¸Ä£¬ÎÒÃÇÐèҪͳһµÄ·þÎñÆ÷ʱ¼ä¡£
ʹÓÃFlashÓëºǫ́ͨÐÅ£¬ÎÒÏëÄúÓ¦¸ÃÒѾ­Ó¦Óõ½ÄúµÄÏîÄ¿ÖУ¬²»¹ÜʹÓÃÄÄÖÖ·½Ê½£¬¶¼¿ÉÒÔ°Ñ·þÎñÆ÷ʱ¼ä´«µ½¿Í»§¶Ë£¬¿ÉÒÔʹÓÃHttpÇëÇó¡¢SocketÒÔ¼°ÆäËûÇ°ºǫ́ͨÐŵĿò¼Ü£¬Ö»ÐèÒªÔÚºǫ́ÖлñÈ¡µ±Ç°·þÎñÆ÷ʱ¼ä£¬È»ºó·µ»Ø¸øǰ̨¡£
ÐèÒª·þÎñÆ÷ʱ¼äµÄʱºò£¬¿ÉÒÔÿ´Î¶¼ÇëÇóºǫ́À´»ñÈ¡£¬µ«Èç¹û¾­³£Ê¹Ó÷þÎñÆ÷ʱ¼äÀ´²ÎÓëһЩ¼ÆË㣬ÄÇôÿ´ÎÇëÇó¾Í²»ÊÇÒ»¼þºÃµÄ·½Ê½£¬ÀýÈç¿Í»§¶ËÏÔʾµ±Ç°ÏµÍ³Ê±¼ä£¬ÄѵÀҪÿÃëÖÓ¶¼È¡»ñȡһϷþÎñÆ÷ʱ¼äÂð£¿ÔÙÀýÈç¿Í»§»úµÄÍøËٷdz£Âý£¬ÇëÇó·þÎñÆ÷µ½·µ»Ø½á¹ûµÄÑӳٱȽϳ¤£¬ÕâÑù»ñÈ¡µ½µÄʱ¼äÎó²î±È½Ï´ó¡£
»òÐíÄúÒѾ­Ïëµ½ÁËÎÒÃÇ¿ÉÒÔÔÚ¿ªÊ¼Ê±»ñÈ¡Ò»´Î·þÎñÆ÷ʱ¼ä£¬È»ºóÿ´ÎʹÓõÄʱºò£¬ÔÚǰ̨¼ÆËã³öµ±Ç°µÄ·þÎñÆ÷ʱ¼ä¡£TimerÊÇFlashÖÐÓÃÓÚ¼ÆʱµÄÀ࣬Äú»òÐíÏëʹÓÃTimerÀ´²ÎÓë·þÎñÆ÷ʱ¼äµÄ¼ÆËã¡£ÔÚÎÒ֮ǰµÄ²©ÎÄ“Flash Player֡Ƶ¡¢Timer¼Æʱ µÄʱ¼ä¼ä¸ô²âÊÔ”ÖУ¬²âÊÔÁËTimer¼ÆʱµÄ¾«È·ÐÔ£¬ºÜÒź¶Timer¼Æʱ²¢²»ÊǾ«È·µÄ£¬ÎÞ·¨²ÎÓëµ½·þÎñÆ÷ʱ¼ä¼ÆËãÖС£
ÄúÊÇ·ñʹÓùýgetTimerº¯Êý£¬ÔÚ°ïÖúÎĵµÖжÔÓÚgetTimerº¯ÊýµÄÃèÊöÊÇ“·µ»Ø³õʼ»¯ Flash Player ºó¾­¹ýµÄºÁÃëÊý£¬²¢Ê¹ÓÃËüÀ´¼ÆËãÏà¶Ôʱ¼ä”¡£Ê¹ÓÃËüÀ´¼ÆËãÏà¶Ôʱ¼ä£¡Õâ¸öÕýÊÇÎÒÃÇÐèÒªµÄ¡£
ÏÂÃæÊÇÒ»¸ö¼ÆË㵱ǰ·þÎñÆ÷ʱ¼äµÄÀ࣬Äú¿ÉÒ԰ѸÃÀàµÄ¶ÔÏ󱣴浽ȫ¾Ö±äÁ¿ÖУ¬È»ºóµÚÒ»´Îµ÷ÓÃload()·½·¨ºó£¬Ã¿´Îµ÷ÓÃgetServerTime()À´»ñÈ¡·þÎñÆ÷ʱ¼ä£º
package
{
import flash.events.Event;
import flash.events.EventDispatcher;
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.utils.getTimer;

/**
* »ñÈ¡²¢¼ÆËã·þÎñÆ÷µ±Ç°Ê±¼ä¹¤¾ß
* */
public class ServerTimeUtil extends EventDispatcher
{
// Á¬½Ó·þÎñÆ÷»ñÈ¡µ±Ç°·þÎñÆ÷ʱ¼äµÄÀà
private var loader:URLLoader;
// ¼Ç¼ÇëÇóʱ·µ»ØµÄ·þÎñÆ÷ʱ¼ä
private var serverTime:Number = -1;
// ¼Ç¼ÇëÇóʱµ±Ç°flash playerÔËÐеÄʱ¼ä
private var regTime:int;

public function ServerTimeUtil()
{
loader = new URLLoader();
loader.addEventListener(Event.COMPLETE, onComplete);
}

/**
* ³


Ïà¹ØÎĵµ£º

open flash chart 2 ʹÓòο¼

http://code.google.com/p/jofc2/   Õâ¸öÊÇgoogle¶ÔOFC×öÀ©Õ¹µÄ°ü  ÆäÖаüº¬ÓÐ jofc2-1.0-0.jar,xstream-1.3.1.jar,Á½¸ö.jar µµÐèÒª¼ÓÈëÏîÄ¿ÖÐ
ofcÏÂÔØ: http://teethgrinder.co.uk/open-flash-chart/   °üÀ¨:open-flash-chart.swf,swfObject.js,json.js
http://hi.baidu.com/harbin%5Fsakura/b ......

FLASH³¡¾°Çл»´úÂë

FLASHÖг¡¾°Çл»µÄ¼¸¸ö·½·¨ÔÚÖÆ×÷flash¶¯»­µÄʱºò£¬¿ÉÄÜ»áÓÐÓкܵÄmc­
ÓÐʱ»á°ÑËü·Åµ½¼¸¸ö³¡¾°ÖУ¬ÄÇôÔÚ³¡¾°ÖеÄÌøתÈçºÎʵÏÖÄØ£¿­
Çë¿´½Ì³Ì°É¡£­
1.­
·½·¨Ò»£º£¨Ê¹ÓÃtelltarg...­
·½·¨Ò»£º£¨Ê¹ÓÃtelltargetÃüÁ­
°´Å¥ÉϵÄasΪ£º­
on (release) {­
tellTarget ("/") {& ......

¸¡¶¯¹ã¸æ±»Ò³ÃæÉϵÄflashÕÚµ²µÄ½â¾ö·½·¨

<div class="ad2">
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
            widt ......

FlashÔËÐÐʱ×èÈû²âÊÔ

Èç¹ûÄú¿´ÁËÎÒµÄÉÏһƪ²©ÎÄ£¬Äú¾ÍÓ¦¸ÃÁ˽âFlash PlayerÔËÐÐʱµÄ֡ƵºÍTimer¼ÆʱÊDz»¾«È·µÄ£»ÆäÔ­ÒòÖ®Ò»ÊÇAVMÐéÄâ»úÿ´Î·ÖÅäµÄʱ¼äƬ¼ä¸ô²»ÊÇÒ»¸ö¹Ì¶¨µÄÖµ£»ÁíÒ»¸öÔ­ÒòÔò¿ÉÄÜÊÇÒ»´Îʱ¼äƬËùÔËÐеĴúÂë½Ï´ó£¬Èç¹ûÒ»¸öʱ¼äƬµÄʱ¼äÖ´Ðв»Í꣬Ôòʱ¼äƬ¾Í»áÑÓ³¤²¢Õ¼ÓúóÃæµÄʱ¼äƬ¡£
ÔÚÕâƪÎÄÕÂÀÎÒ¸ø“ʱ¼äƬִÐв»Íê¶øÑ ......

¶ÔFLASHµÄÖ§³Ö¿´·¨

´ÓÆ»¹û¡¢ARMµ½OPERA£¬·çÏòËƺõ¿ªÊ¼¸Ä±ä£¬¶ÔFLASHµÄÅê»÷Ô½À´Ô½¶à£¬ËƺõºÞ²»µÃ½«ADOBEŪ³ôµ½³ÉΪ¹ý½ÖÀÏÊó¡£µ±È»£¬ÎÒÄ¿Ç°ÊÇÒ»ÃûFLEX³ÌÐòÔ±£¬Ëù·¢±íµÄÒâ¼ûÄÑÃâ»á´øÓÐÆ«¼û£¬Èç¹ûÊÇÆÚÍû°Ù·Ö°ÙµÄ¹«Õý£¬¾ÍÏñijÈË˵µÄ£ºÄãÒÔΪÎÒÊÇ°üÇàÌì°¡£¡
ÏëÏ뿪·¢Õ߶ÔÓÚMSµÄ×÷Ó㬾ÍÓ¦¸ÃÏëµ½Éè¼Æʦ¶ÔÓÚADOBEµÄ×÷Ó㬼¸ºõÕû¸öͼÐÎÉè¼ÆµÄÊг¡¶¼ÓÐË ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ