¹ØÓÚflashÖÐӰƬ¼ô¼µÄÅÅÁÐ˳Ðò¿ØÖƺÍÍÏקЧ¹û
ÌرðÊÇÔÚ×öflashÐÂÎÅͼƬÂÖ»»µÄʱºò£¬¾³£»áÓõ½¶Ô¶à¸öӰƬ¼ô¼µÄÇ°ºó˳ÐòÅÅÁÐÎÊÌ⣬ÏÂÃæͨ¹ýÒ»¸ö·Ç³£¼òµ¥µÄСÀý×ÓÀ´ÊµÏÖ¶ÔӰƬ¼ô¼µÄ˳Ðò¿ØÖÆ£¬¶øÇÒ˳±ãÀ´¸öÍÏקµÄЧ¹û¡£
Ê×ÏÈ£¬´ò¿ªfalsh8£¬²åÈëÁ½¸öͼÐÎÔª¼þ£¬Ò»¸ö·½ÐΣ¬Ò»¸öÔ²ÐΡ£
Æä´Î£¬ÔÙ½¨Á¢Á½¸öӰƬ¼ô¼£¬·Ö±ð°ÑͼÐÎÔª¼þÍϽøÈ¥¡£ÕâÑùmc1ÊÇ·½ÐεÄӰƬ¼ô¼£¬mc2ÊÇÔ²ÐεÄӰƬ¼ô¼¡£
ÈçÏÂͼËùʾ£º
ÔٴΣ¬°ÑÁ½¸öӰƬ¼ô¼Íϵ½Í¬Ò»Ö¡ÉÏ£¬ÕâÑùµÄĬÈÏЧ¹ûÊÇÒ»¸öÔÚÉÏ£¬Ò»¸öÔÚÏ¡£
×¢Ò⣺ÍϽøÈ¥µÄʱºòÒª¸øӰƬ¼ô¼ÃüÃû£¬µã»÷ӰƬ¼ô¼£¬´ò¿ªÊôÐÔÃæ°å£¬ÈçÏÂͼËùʾ£º
ÕâÑù£¬¸ø·½ÐÎӰƬ¼ô¼ÃüÃûΪmc1£¬¸øÔ²ÐÎӰƬ¼ô¼ÃüÃûΪmc2¡£
ÏÂÃæ¾ÍÊÇдas´úÂëÁË¡£
Ò»¡¢Ñ¡Ôñ·½ÐÎӰƬ¼ô¼£¬´ò¿ªÆ䶯×÷Ãæ°åÊäÈëһЩ´úÂ룺
on(press){
this.swapDepths(1); //ÉèÖõ±Ç°·½ÐÎӰƬ¼ô¼µÄÉî¶ÈΪ1
mc2.swapDepths(2); //ÉèÖÃÔ²ÐÎӰƬ¼ô¼mc2µÄÉî¶ÈΪ2
this.startDrag(true); //ÓÃÓÚÍÏק
}
on(release){
this.stopDrag(); //ÓÃÓÚÍÏק
}
¶þ¡¢Ñ¡ÔñÔ²ÐÎӰƬ¼ô¼£¬´ò¿ªÆ䶯×÷Ãæ°åÊäÈëһЩ´úÂ룺
on(press){
this.swapDepths(1); //ÉèÖõ±Ç°Ô²ÐÎӰƬ¼ô¼µÄÉî¶ÈΪ1
mc1.swapDepths(2); //ÉèÖ÷½ÐÎӰƬ¼ô¼mc1µÄÉî¶ÈΪ2
this.startDrag(true); //ÓÃÓÚÍÏק
}
on(release){
this.st
Ïà¹ØÎĵµ£º
ÀûÓÃas3£¬ÎÒÃÇ¿ÉÒÔ³¢ÊÔÖÆ×÷һЩÓÐȤµÄ×é¼þ£¬ËäÈ»ÏÖÔÚÒѾÓкܶàʵÓõÄ×é¼þ£¬µ«ÊÇ×Ô¼º³¢ÊÔдһÏÂÒ²ÊDz»´íµÄ¡£ÀûÓÃas3Óï·¨£¬½èÓÃÁË»æͼApiÎÒÃdz¢ÊÔÖÆ×÷Ò»ÏÂÕâ¸ö×é¼þ¡£ÒòΪÎÒÃDz»ÐèÒªºÜÇ¿´óµÄ¹¦ÄÜ£¬¶Ô´ËÎÒÃÇÖ»ÊÇÐèҪѡȡÆäÒ»²¿·Ö¾Í¿ÉÒÔ¡£
Ê×ÏÈ,ÎÒÃÇËùÐèµÄÖÆ×÷Á½¸öͼÐΣ¬Ò»¸öÊÇÍ϶¯µÄ·½¿é£¬Ò»¸öÊǵ×ͼƬ¡£¶ÔÓÚÕâÁ ......
̸̸Flash MMORPGµÄµØͼ¼¼Êõ
ÔÚ¿ª·¢»ùÓÚÍøÒ³µÄFlash MMORPGÓÎϷʱ£¬µØͼ¼¼ÊõÍùÍùÊÇ×îÏȱ»Ìá¼°µÄ¡£Íæ¼ÒµÄ´ó²¿·ÖÓÎϷʱ¼ä¶¼ÊÇÔÚµØͼÉ϶ȹýµÄ£¬ÈçºÎʵÏÖÃÀ¹Û¸ßЧµÄµØͼЧ¹û£¬ÊÇÿ¸ö¼¼ÊõÈËÔ±¶¼Í·ÌÛ¹ýµÄ¡£¶ÔÓÚÏÖÔÚµÄ2DÓÎÏ·À´Ëµ£¬Èç½ñµÄCPU/ÏÔ¿¨ºÍÄÚ´æÒѾ×㹻ǿ¾¢ÁË£¬Òò´ËºÜÉÙÐè ......
flashbuilderÖпÉÒÔ½¨Á¢flex¹¤³ÌÓëactionscript¹¤³Ì.
flex¹¤³ÌÄÚ¿ÉÒÔʹÓÃmxmlÊÇÍê³ÉÉè¼Æ¹¤×÷.
actionscript¹¤³Ì½¨Á¢Ê±Ä¬ÈÏÖ»ÓÐ:
playerglobal.swc
flex.swc
utilities.sec
playerglobal.swc
Õ⼸¸öÀà¿â.ûÓÐframework.swc,¾ÍÎÞ·¨Ê¹ÓÃButtonµÈ¿Ø¼þÁË.
½â¾ö·½°¸ÊÇ actionscript¹¤³ÌÖмÓÈëframework.swc.
·¾¶ÊÇ x:/A ......
ÅÂÄÄÌìÔÙÓõ½£¬Ê¡µÄÔÙÖØÐÂд£º
#!/bin/sh
save_path=$1
log_path="/usr/local/nginx/logs/null.log"
_from=`head $log_path -n1 |awk '{print $4}'|awk -F"[" '{print $2}'|grep -oE "[A-Za-z0-9:]+"`
_end=`tail $log_path -n1 |awk '{print $4}'|awk -F"[" '{print $2}'|grep -oE "[A-Za-z0-9:]+"`
from=`echo $_ ......
Ê×ÏÈ£¬¼ÓÔØTXTʵÀý£º
´úÂ룺
ËäÈ»ÊǺܾɵÄÒ»Ì׽̳̣¬¿ÉÊǺÜʵÓã¬ËùÒÔÎÒ°ÑËü·ÅÔÚÕâ¡£
£¨×¢Ò⣺¿´´úÂëµÄʱºòÁôÒâһϽڵãµÄÓ÷¨£ºmyXML.childNodes[0].childNodes[0].childNodes[0]....xml½ÚµãµÄµØ·½¡££©
Ò»¡¢½¨Á¢XML¶ÔÏó£º
var myXML = new XML();
¶þ¡¢ÒýÓÃXMLÎļþ£º
myXML.load("data.xml");
Èý¡¢ºöÂÔ¿Õ¸ñ£º
my ......