¿ìËÙÒµÎñͨµÀ

ÐÇÐÇд×Ö

×÷Õß ØýÃû¼¼Êõ À´Ô´ ·þÎñÆ÷¼¼Êõ ä¯ÀÀ ·¢²¼Ê±¼ä 2012-07-09




ÐÇÐÇд×ÖµÄЧ¹ûÈç¹û°´ÕÕÒ»Ö¡Ò»Ö¡µÄÀ´×öÒ²ÊÇ¿ÉÒԳɹ¦µÄ£¬µ«ÊÇÄÇ»áÊÇÒ»¼þ·Ç³£³ÔÁ¦µÄÊÂÇ飬Èç¹ûʹÓÃASÀ´×öµÄ»°,²»½ö¿ÉÒÔ½ÚÊ¡ÀͶ¯Á¦£¬¶øÇÒ»¹¿ÉÒÔÈÃÉú³ÉµÄFlash¶¯»­µÄÌå»ý±äµÃºÜС¡£ ÆäÖÆ×÷Ô­ÀíÈçÏ£ºÊ×ÏÈ£¬×öÒ»¸öÉÁ˸µÄÐÇÐÇ¡£È»ºóÖÆ×÷Ò»¸ö¹ì¼££¬ÈÃÐÇÐÇËæ×ÅÕâ¸ö¹ì¼£Ô˶¯£¬×îºóд¼¸ÐÐAS´úÂëÈÃÐÇÐÇÒ»±ßÑع켣Ô˶¯Ò»±ßÔÚÔ˶¯µÄµ±Ç°Î»Öø´ÖÆ×Ô¼º£¬ÕâÑù¾ÍÐγÉÁËÉÏÃæµÄЧ¹û£¡ÏÂÃæÈÃÎÒÃÇÀ´Ò»²½Ò»²½¸ú×Å×ö£¡ µÚÒ»²½£ºÖÆ×÷ÉÁ˸µÄÐÇÐÇ

1¡¢ÉèÖ󡾰ΪºÚÉ«±³¾°¡£Ð½¨Ò»¸ö×é¼þGraphic,È¡Ãû£ºlight£¬ÔÚ³¡¾°Öл­Ò»¸öûÓб߿òµÄÕýÔ²£¨Êó±êÍÏÀ­Ê±°´×¡¡°Shift¡±¼ü£©£¬(¼ÇסҪÈÃÔ²µÄÖÐÐĶÔ×¼³¡¾°µÄÖÐÐÄ£¬µÈ»á×öbstarµÄʱºò¾ÍÖªµÀÁË£©£¬Ìî³äÉ«ÈçͼÖÐËùʾ£ºFill Style:Radial;×ó±ß°×É«£ºAlpha£º100%£»Óұ߰×É«£ºAlpha:0£»£¬È»ºó¶ÔÔ²½øÐÐÀ­Éì±äÐγÉͼÖÐÐÎ×´¡£

½Ó×ÅÈç·¨ÅÚÖÆ£¬ÔÚÔ²µÄ×óÏ·½ÔÙ»­Ò»¸öÀàËƵÄÔ²£¬À­Éì±äÐκóֻȡÆäÒ»°ë£¨ÈçÏÂͼ£©¡£

2¡¢Ð½¨Ò»¸ö×é¼þGraphic,È¡Ãû£ºbstar,°Ñlight×é¼þ´ÓlibraryÖÐÍÏÈëµ½³¡¾°µÄÖÐÐÄÈÃ×é¼þµÄÖÐÐÄÓ볡¾°ÖÐÐĶÔÆ룬ÓÃÊó±êÑ¡Öг¡¾°ÖÐ×é¼þ£¬È»ºóµ÷³ö¡°Transform¡±Ãæ°å£¬²ÎÊýÉèÖãº×ÝÏò±ÈÀý100%£»ºáÏò±ÈÀý£º100%£»Rotate:90,ÈçÏÂͼËùʾ¡£È»ºó°´ºìɫԲȦÖеİ´Å¥3Ï£¨Ã¿¸ô90¶È¸´ÖÆÒ»¸öÑ¡ÖеÄ×é¼þ£© £¬ÕâÑùÒ»¿ÅÐÇÐǾÍ×öºÃÁË£¬ÏÂÒ»²½ÎÒÃÇÒªÈÃËûÉÁ˸£¡

3¡¢Ð½¨Ò»¸ö×é¼þMC,È¡Ãû£ºstar,°Ñbstar×é¼þ´ÓlibraryÖÐÍÏÈëµ½³¡¾°µÄÖÐÐÄÈÃ×é¼þµÄÖÐÐÄÓ볡¾°ÖÐÐĶÔÆ룬ÔÚµÚ10Ö¡ºÍµÚ20Ö¡²åÈë¹Ø¼üÖ¡£¬ÔÚµÚ1Ö¡ÉèÖÃ×é¼þµÄAlphaÖµ£º10%£»Í¬Ê±Ê¹×é¼þËõСµ½Ô­À´µÄ30%£¨Õâ¸ö¿ÉÒÔ×Ô¼ºÊʵ±µ÷Õû£©£»ÔÚµÚ20Ö¡ÉèÖÃ×é¼þµÄAlphaÖµ£º20%£»Í¬Ê±Ê¹×é¼þËõСµ½Ô­À´µÄ30%£¨Õâ¸ö¿ÉÒÔ×Ô¼ºÊʵ±µ÷Õû£©£¬ÔÚµÚ10Ö¡ÉÏÈÃ×é¼þÉÔ΢ÏòÓÒÐýתһϽǶȣ¬²»ÒªÌ«´ó¡£ÔÚµÚ1Ö¡ÉèÖÃÖ¡µÄÊôÐÔ£ºTween:motion;Rotate:CCW£»1 Times(ÄæʱÕë·½ÏòÐýתһ´Î£©£¬ÔÚµÚ10Ö¡ÉèÖÃÖ¡µÄÊôÐÔÈçÏÂͼËùʾ£ºTween:motion;Rotate:CW£»1 Times(˳ʱÕë·½ÏòÐýתһ´Î£©

µÚ¶þ²½£ºÈÃÉÁ˸µÄÐÇÐǸú׏켣×ß

1¡¢´ÓLibraryÖаÑstar×é¼þÍÏÈëµ½³¡¾°ÖУ¬ÔÙÔÚLayer1²ãÉϼÓÒ»¸öGuide²ãLayer2£¨°´ºìɫԲȦÖÐͼ±ê£©£¬ÔÚLayer2µÄµÚÒ»Ö¡µÄ³¡¾°ÖÐÓøֱʻ­³ö¡°me"µÄ·¾¶£¬°ÑStar×é¼þ·Åµ½Â·¾¶µÄ¿ªÊ¼µã£¬Í¬Ê±¸øStar×é¼þ¸³ÓèÒ»¸öinatance of name:starÈçÏÂͼ£º



2¡¢ ÔÚ²ãLayer1 µÄµÚ40 Ö¡,µÚ41Ö¡ºÍ75Ö¡µÄλÖòåÈë¹Ø¼üÖ¡£¬ÉèÖõÚ1Ö¡ºÍ41Ö¡µÄÖ¡ÊôÐÔ£ºtween:motion£¨ÉèÖÃΪÒƶ¯½¥±ä£©£»°ÑStar×é¼þÍϵ½ ¡°m¡±µÄ×îºóµã ÈçͼËùʾ£¬£¨ÓÉÓÚÎÒÃǵÄ·¾¶²»ÊÇÒ»¸öÁ¬ÐøµÄÏßÌõ£¬ËùÒÔÎÒÃÇÓÃÁ½¸ö½¥±ä¹ý³ÌÀ´Íê³ÉÕû¸ö¹ì¼£µÄÔ˶¯£©¡£Í¬Ê±ÔÚLayer2µÄµÚ75 ֡λÖòåÈëÖ¡£¨°´F5¼ü£©¡£

3¡¢ ÔÚ²ãLayer1 µÄµÚ41Ö¡ÉÏ°ÑStar×é¼þÍϵ½ÈçÏÂͼµÄλÖÃ

4¡¢ÔÚ²ãLayer1 µÄµÚ75Ö¡µÄÉÏ°Ñstar×é¼þÍϵ½ÈçÏÂͼµÄλÖà £¬Íê³ÉÕû¸ö·¾¶µÄÔ˶¯

µÚÈý²½£ºÖÆ×÷ActionScript

1¡¢Ð½¨Ò»¸ömc:È¡Ãû£ºaction¡£ÔÚµÚÒ»Ö¡¼ÓÉÏActionScript£º
i = i+1;//É趨һ¸ö±äÁ¿i²¢ÈÃiÀÛ¼Ó
duplicateMovieClip(_parent.star, "star"+i, i);//¸´ÖÆÒ»¸östar£¬²¢È¡Ãû¡°"star"+i¡±£¬µ±i=2ʱ£¬¸´ÖƵÄmcµÄÃû×Ö¾ÍÊÇ"star2"("_parent.star"±íʾÉÏÒ»¼¶µÄmcÖеÄstar)
ÔÚµÚ¶þÖ¡²åÈë¹Ø¼üÖ¡£¬¼ÓÉÏÒ»¾ä£ºcall(1);//µ÷ÓõÚÒ»Ö¡µÄ´úÂë 2¡¢»Øµ½Scene 1£¬Ð½¨Ò»²ã£ºLayer3,°Ñaction´ÓLibraryÖÐÍϵ½³¡¾°ÖÐÀ´ÈçÏÂͼ£º

3¡¢ ɾ³ý²ãLayer3 µÄ µÚ75Ö¡£¬Í¬Ê±ÔÚ²ãlayer 1µÄµÚ75Ö¡ÉϼÓÉÏÒ»¾äactionscript:stop; £¨ ÈçÏÂͼÖкìÉ«·½¿òËùʾ£© ¡£É¾³ý²ãLayer3 µÄ µÚ75Ö¡ÊÇΪÁËÈÃmc:actionÖеÄactionscript²»×÷Óõ½µÚ75Ö¡ÉÏÃæ¡£
?
OK!´ó¹¦¸æ³É£¡Ctrl+Enter²âÊÔһϿ´¿´Ð§¹ûÈçºÎ£¡ÓÐÐĵĶÁÕß»¹¿ÉÒÔÓò»Í¬µÄ¹ì¼£À´×öЧ¹ûÓֻ᲻һÑùÓ´£¡ ?
¹Ø¼ü´Ê£º

ÁèÖڿƼ¼×¨ÒµÌṩ·þÎñÆ÷×âÓᢷþÎñÆ÷Íйܡ¢ÆóÒµÓʾ֡¢ÐéÄâÖ÷»úµÈ·þÎñ£¬¹«Ë¾ÍøÕ¾£ºhttp://www.lingzhong.cn ΪÁ˸ø¹ã´ó¿Í»§Á˽â¸ü¶àµÄ¼¼ÊõÐÅÏ¢£¬±¾¼¼ÊõÎÄÕÂÊÕ¼¯À´Ô´ÓÚÍøÂç,ÁèÖڿƼ¼×ðÖØÎÄÕÂ×÷ÕߵİæȨ£¬Èç¹ûÓÐÉæ¼°ÄãµÄ°æȨÓбØҪɾ³ýÄãµÄÎÄÕ£¬ÇëºÍÎÒÃÇÁªÏµ¡£ÒÔÉÏÐÅÏ¢ÓëÎÄÕÂÕýÎÄÊDz»¿É·Ö¸îµÄÒ»²¿·Ö,Èç¹ûÄúҪתÔر¾ÎÄÕÂ,Çë±£ÁôÒÔÉÏÐÅÏ¢£¬Ð»Ð»!

·ÖÏíµ½£º ¸ü¶à

Copyright ©1999-2011 ÏÃÃÅÁèÖڿƼ¼ÓÐÏÞ¹«Ë¾ ÏÃÃÅÓÅͨ»¥Áª¿Æ¼¼¿ª·¢ÓÐÏÞ¹«Ë¾ All rights reserved

µØÖ·(ADD)£ºÏÃÃÅÈí¼þÔ°¶þÆÚÍûº£Â·63ºÅ701E£¨¶«ÄÏÈÚͨÅÔ£© Óʱà(ZIP)£º361008

µç»°£º0592-5908028 ´«Õ棺0592-5908039 ×ÉѯÐÅÏ䣺web@lingzhong.cn ×ÉѯOICQ£º173723134

¡¶ÖлªÈËÃñ¹²ºÍ¹úÔöÖµµçÐÅÒµÎñ¾­ÓªÐí¿ÉÖ¤¡·ÃöB2-20100024  ICP±¸°¸:ÃöICP±¸05037997ºÅ