flash import mx.transitions.Tweens;ʹÓÃ
flash mx.transitions.Tween;¿ÉÒÔʵÏÖÀàËÆÓÚ²¹¼ä¶¯»µÄЧ¹û£»µ¼Èë¸ÃÀࣺ
import mx.transitions.Tween;
È»ºóÓÃnew Tween£¨£©·½·¨¼´¿ÉʵÏÖ¡£New Tween()·½·¨¸ñʽ£º
new Tween£¨ÒªÓ¦Óò¹¼äµÄMC£¬ÒªÓ¦Óò¹¼äµÄMCµÄÊôÐÔ£¬»º¶¯Ð§¹û£¬ÊôÐԵijõʼֵ£¬ÊôÐԵĽáÊøÖµ£¬²¹¼äµÄ³¤¶È£¬²¹¼ä³¤¶ÈµÄÀàÐÍ£©
ÏÂÃæ½éÉÜÒ»ÏÂnew Tween£¨£©·½·¨µÄ²ÎÊý¡£
ÒªÓ¦Óò¹¼äµÄMC£ºÕâ¸ö¾ÍÊÇÒªÓ¦Óò¹¼äµÄMCÂÞ¡£
ÒªÓ¦Óò¹¼äµÄMCµÄÊôÐÔ£º²¹¼ä¶¯»Êµ¼Ê¾ÍÊÇÓÃÒ»¶¨µÄʱ¼ä¸Ä±ä¶ÔÏóµÄÊôÐÔ£¬±ÈÈçλÒƾÍÊǸıä_x»ò_yÊôÐÔ£¬»¹ÓÐÆäËüµÄÈç_xscal¡¢_alphaµÈ¡£ÕâÀï¾ÍÊÇÖ¸ÕâЩÊôÐÔµÄÃû³Æ¡£
»º¶¯Ð§¹û£ºÔÚÉÏÒ»½ÚÎÒÃÇÒѾ½éÉÜÁË¡£
ÊôÐԵijõʼֵ£º±ÈÈçÒªÓò¹¼äµÄÊÇ_xÊôÐÔ£¬ÎÒÃÇÒª½¨Á¢¶ÔÏó´ÓÎę̀×ó±ßÒƵ½ÓұߵIJ¹¼ä¶¯»£¬ÄÇô_xµÄ³õʼֵ¾ÍÓ¦ºÜС£¬±ÈÈç0£¬10£¬50µÈ£¬¼´¶ÔÏóÔÚÎę̀×ó±ßʱµÄ_xÖµ¡£
ÊôÐԵĽáÊøÖµ£º²¹¼ä½áÊøʱÊôÐÔµÄÖµ£¬±ÈÈç¶ÔÏóÒƵ½Îę̀ÓÒ±ßʱµÄ_xµÄÖµ¡£
²¹¼äµÄ³¤¶È£º¿ÉÒÔÓÐÁ½ÖÖ±íʾ·½Ê½£ºÃë»òÖ¡£¬µ«ÕâÀïÖ»ÊÇÒ»¸öÊýÖµ£¬ÊÇÓÃÃ뻹ÊÇÓÃÖ¡À´¼ÆËã²¹¼äÓɺóÃæÒ»¸ö²ÎÊýÀ´¾ö¶¨¡£
²¹¼ä³¤¶ÈµÄÀàÐÍ£º¾ö¶¨ÊÇÓÃÃ뻹ÊÇÓÃÖ¡À´¼ÆËã²¹¼ä£¬Èç¹ûΪtrueÔòÓÃÃëÀ´¼ÆË㣬Èç¹ûΪfalseÔòÓÃÖ¡À´¼ÆËã¡£
Àý£ºÏÂÃæÎÒÃÇÀ´ÖÆ×÷
Ò»¸ö²¹¼ä¶¯»£¬ÈÃÒ»¸öСÇò´ÓÎę̀µÄ×ó±ßÒƵ½Óұߣº
»Ò»¸öÇò°É£¬×ª»»ÎªMC£¬ÊµÀýÃû³ÆΪ£ºball_mc.
´ò¿ªÖ¡¶¯×÷Ãæ°å£¬ÊäÈëÈçÏ´úÂ룺
import mx.transitions.Tween;
import mx.transitions.easing.*; //ÒòΪÔÚÓõ½»º¶¯Ð§¹û£¬ËùÒÔ½«»º¶¯ÀàÒ²µ¼Èë
new Tween(ball_mc, "_x", None.easeNone, 20,500,3,true);
²âÊÔӰƬ£¬Ð¡Çò½«´Ó×ó±ß£¨20ÏñÊý´¦£©ÒƵ½Óұߣ¨500ÏñËØ´¦£©£¬ÓÃʱ3Ãë¡£
ÉÏÃæÕâ¸öЧ¹ûûÓÐÓûº¶¯Ð§¹û£¬ÈçÒª¼ÓÈ뻺¶¯Ð§¹û£¬ÓÐÒ»¸ö½ÐRegularµÄ»º¶¯À࣬Ëü½«ÊµÏÖ¼õÂýµÄЧ¹û£¬ÎÒÃǸøËüµ÷ÓÃeaseIn·½·¨£¬¼´ÔÚ²¹¼ä¿ªÊ¼Ê±¼õÂý£¬ÕâÑùÊDz»ÊǾÍʵÏÖÁË´ÓÂýµ½¿ìµÄЧ¹ûÄØ£¿½«´úÂë¸Ä³ÉÏÂÃæµÄ£º
import mx.transitions.Tween;
import mx.transitions.easing.*;
new Tween(ball_mc, "_x",Regular.easeIn, 20,500,40,false);
²âÊÔӰƬ£¬ÎÒÃÇ¿´µ½Ð¡ÇòÓÉÂýµ½¿ì´Ó×ó±ßÒƵ½Óұߡ£ÔÚÕâ¶Î´úÂëÖУ¬¸Ä±äÁËÈý¸ö²ÎÊý£¬Ò»¸öÊÇ»º¶¯Ð§¹û£¬Ò»¸öÊDz¹¼ä³¤¶ÈÓÃÁË40£¬ÔÙÒ»¸ö¾Í³¤¶ÈÀàÐÍÓÃÁËfalse,ÕâÑùÕâ¸ö²¹¼ä³¤¶È²»ÔÙÊÇ3Ã룬¶øÊÇ40Ö¡¡£
Ïà¹ØÎĵµ£º
C#ÓëFlash½»»¥ £¨×ª×ÔСÀÚÔÚÏߣ©
C#ÓëFlash½»»¥
Ç°¶ÎÈÕ×Ó¹«Ë¾ÒªÇó×öÒ»¸öC#ÓëFlash½»»¥µÄ¶«Î÷£¬ÓÃÀ´C#Óë¶ÌÐÅèͨѶ½«Êý¾Ý´«µ½FlashÉÏÏÔʾÓë²Ù×÷µÄÓ¦Óá£
µÚÒ»²½C#Ìí¼Ó×é¼þ
´ò¿ªVS2005-¹¤¾ß-Ñ¡Ôñ¹¤¾ßÏäÏî-COM×é¼þ-Ñ¡ÔñShockwave Flash Object-È·¶¨
Ìí¼ÓºÃ×é¼þÍù³¡¾°ÉÏÍÏ·Å£¬Èç¹ûÌáʾע²áÐèÇó×¢²á
c# ×¢²á¿Ø¼þ-ÔÚÔËÐÐÊä ......
ROMºÍRAMÖ¸µÄ¶¼ÊÇ°ëµ¼Ìå´æ´¢Æ÷£¬ROMÊÇRead Only MemoryµÄËõд£¬RAMÊÇRandom Access MemoryµÄËõд¡£ROMÔÚϵͳֹͣ¹©µçµÄ
ʱºòÈÔÈ»¿ÉÒÔ±£³ÖÊý¾Ý£¬¶øRAMͨ³£¶¼ÊÇÔÚµôµçÖ®ºó¾Í¶ªÊ§Êý¾Ý£¬µäÐ͵ÄRAM¾ÍÊǼÆËã»úµÄÄÚ´æ¡£
RAM·ÖΪÁ½ÀࣺһÖÖÊǾ²Ì¬µÄRAM£¨SRAM£©£¬ÁíÍâµÄÒ»ÖÖÊǶ¯Ì¬RAM£¨DRAM£©£¬¶þÕßµÄÇø±ðÊÇSRAMµÄËÙ¶ÈÒª±ÈDRAMµÄËÙ ......
JavaScript ºÍ Flash µÄͨÐÅ
ÏÂÃæÊÇһЩÔÚFlashºÍʹÓÃJavascriptµÄHTMLÎļþÖ±½ÓͨÐŵÄʾÀý,ÿ¸öʾÀý¶¼ÓмòÂԵIJ½Öè
±¾ÎÄÌÖÂÛÁË3ÖÖ»ù±¾µÄFlash/JavascriptͨÐÅ·½Ê½:
Javascript µ½ FlashµÄͨÐÅ----ʹÓÃFlash²¥·ÅÆ÷µÄjavascript·½·¨
Flash µ½ JavascriptµÄͨÐÅ----ʹÓÃFlashµÄfscommand
Flash µ½ FlashµÄͨÐÅ----------Ê ......
£ÛÔÀí£Ý
¾µäÎïÀíѧÈÏΪ£¬ÎïÌåÔ½¹ýÊÆÀÝ£¬ÓÐÒ»ãÐÖµÄÜÁ¿£»Á£×ÓÄÜÁ¿Ð¡ÓÚ´ËÄÜÁ¿Ôò²»ÄÜÔ½¹ý£¬´óÓÚ´ËÄÜÁ¿Ôò¿ÉÒÔÔ½¹ý¡£ÀýÈçÆï×ÔÐгµ¹ýСÆ£¬ÏÈÓÃÁ¦ÆÈç¹ûƺܵͣ¬²»µÅ×ÔÐгµÒ²ÄÜ¿¿¹ßÐÔ¹ýÈ¥¡£Èç¹ûƺܸߣ¬²»µÅ×ÔÐгµ£¬³µµ½Ò»°ë¾Íͣס£¬È»ºóÍË»ØÈ¥¡£
  ......