¸ßÈËÀ´½â¡£FlexÊý¾Ýת³É16½øÖÆ×Ö·û´®£¡
ÏÖÓÐflex SocketСÏîÄ¿Ò»¸ö
server¶Ë·µ»ØÊý¾Ý
Èç¹ûÓÃintÕûÐÎÀ´½ÓֵΪ
-1 -5 1 -1 -5 3
ÈôÓÃByteArray½ÓÖµ¡£Ñ»·ºóµÃ³ö
255 251 1 255 251 3
ÏÖÇóÖúʵÏÖһϹ¦ÄÜ
²»ÂÛÓÃÒÔÉÏÄÇÖÖÊý¾ÝÀàÐÍ
ÎÒÏë°ÑÒÔÉÏ6¸ö×Ö·ûת³É16½øÖƵÄ×Ö·û´®ÐÎʽ
¼´ 0xFF, 0xFB, 0x01, 0xFF, 0xFB, 0x03
»¹Íû¸÷λ´óÏÀ²»Áߴͽ̰¡
ÈôÓÃByteArray½ÓÖµ¡£Ñ»·ºóµÃ³ö½á¹ûʱ
private function outPutHexStr(byteArr:ByteArray):void{
for(var i:int = 0;i <byteArr.length;i++){
Alert.show("0x"+byteArr[i].toString(16));
}
}
ÒÑʵÏÖ. ½áÌù
Ïà¹ØÎÊ´ð£º
Èç¹ûÈÃFLEXÖÐformÀïÃæµÄÄÚÈݾÓÖУ¬ÎÒÏÂÃæµÄ²¼¾Ö£¬Èç¹ûÈÃformÀïÃæµÄÄÚÈݾÓÖÐ
XML code:
<mx:Panel styleName="moduleTitle" title="Óû§Ìí¼Ó" xmlns:mx="http://www.adobe.com/2 ......
ÎÒÃǼ¸¸öÔÚÅ·ÖÞÁôѧµÄ²©Ê¿ÉúÕýÔڳﻮһ¸öÏ£Íû³¤ÆÚ·¢Õ¹²¢×ö´ó×öÅ£µÄÇ°ÑØÄÔ¿Æѧ³É¹ûÓ¦ÓÃÏîÄ¿£¬ÐèÓõ½php+webgameµÄ¼¼ÊõÀ´×öÖÕ¶ËÒ³Ã棬ÌØÃÙһλÔÚÕâ·½ÃæÓоÑéµÄ´´ÒµºÏ×÷Õߣ¨Èç¹ûÄúÊìϤDZ¡¢UChomeϵͳ¸üºÃ£©£¬¸ÃºÏ×÷ÕßÔ ......
1£º³ÌÐòÒÔ´ò³Éwar°ü(eclipse´òµÄ)
2£ºÔÚtomcatϲ¿Êðwar°ü£¬¿ÉÒÔÕý³£ÔËÐÐ
3£ºÍ¬ÑùµÄwar°ü£¬²¿Êðµ½websphereÉÏÔËÐÐʱ³öÒì³££¬
Òì³£Ö÷ÒªÐÅÏ¢ÈçÏ£º
´íÎóÐÅÏ¢£º(mx.messaging.messages::ErrorMessage)#0
......
Ò³ÃæÖÐÓжà¸öTImer£¨ ÓÿɿÉÒÔÉèÖÃTimerÊýÁ¿£©
·Ö±ð¶¨Ê±´Ó·þÎñÆ÷È¡µÃÊý¾Ý£¬²¢ÀûÓÃÈ¡µÃµÄÊý¾Ý¸üÐÂÒ»¸öArray¶ÔÏó¡¢
ÓÉÓÚÍøÂçºÍ·þÎñÆ÷µÄÑÓ³ÙµÈÔÒò¡£
ÓпÉÄܼ¸¸öTimerͬʱ·µ»Ø½á¹û£¬ÕâÑù¾Íµ¼ÖÂÁ˶ÔArray¶ÔÏóµ ......
ÈçÌâ
ÎÒÏë´ÓjsÖлñÈ¡Ò»¸öÊýÖµ£¬È»ºó´«µÝ¸øflex£¬Êý¾ÝÊÇÓÃÀ´×öͼ±íÓõÄ
ÎÊÌâ¾ÍÊÇ
private var medalsAC:ArrayCollection = new ArrayCollection( [
{ Countr ......