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

Flex RPGÓÎÏ·DEMO (2)£ºØ²ÕÛƪ

  ÓÉÓÚ±¾ÈË×î½üæÓÚÕÒ¹¤×÷ºÍ±ÏÒµÉè¼Æ£¬Ã»ÓÐʱ¼äÀ´¼ÌÐøÕâ¸öϵÁУ¬ ֻдÁ˵Úһƪ£¬×Ô¼ºÒ²Éî¸Ð²ÑÀ¢£¬Õâһƪ½éÉÜÒ»ÏÂÕâ¸ödemoµÄÕûÌå¼Ü¹¹°É£¬ÏÈÌùÏÂÏÂÔصØÖ·¡£http://download.csdn.net/source/2118707
 Ä¿Ç°·þÎñ¶ËÒÑÍê³ÉµÇ½ע²áÄ£¿é£¬Ê¹ÓÃSocket±à³Ì£¬TCPЭÒé¡£µÈ·þÎñ¶ËÍê³É½«ÍêÕûµÄ±àдһ¸öϵÁеĽ̡̳£~~
   ÁíÓ¦½ìÖص㱾¿ÆÉúÕÒÈí¼þÐÐÒµ¹¤×÷£¬º¹¡£ÎÒµÄÓÊÏäyaojian198713@163.com ÓÎÏ·ÐÐÒµ×îºÃ¡£
   ÏÈ°ÑͼÌùÉÏ°É
MainSceneÀà¼Ì³ÐÖÁUIComponent£¬Ö÷ÒªÍê³É¼ÓÔØmap£¬role£¬mainµÄxmlÅäÖÃÎļþ£¬²¢Ìí¼Ómap£¬buildingµ½Ö÷³¡¾°
MapÀàÖ÷ҪΪÏÔʾµØͼ£¬µØͼʹÓý«Ð¡µØͼ·Å´óµ½Êµ¼ÊµØͼ´óС£¬Êµ¼ÊµØͼʹÓÃÇÐƬ·½Ê½£¬¸ù¾ÝÖ÷½ÇλÖÃʵʱ¼ÓÔصØͼÇÐƬ¡£
search°üÏÂΪѰ·À࣬²Î¿¼ÁËÍøÉϵÄA*Ѱ·Ëã·¨£¬
eventsÏÂΪ±¾demoÖÐʹÓõÄÅÉÉúʼþ¡£
changeÏÂChangeArrayÀ࣬ÒòΪµØͼ±à¼­Æ÷ʹÓõÄÊÇÉîÀ¶É«ÓÒÊÖ£¬±ØÐ뽫ÕÏ°­Êý×éת»»¡£
utilÏÂÖ÷Òª°üº¬Ò»Ð©¾²Ì¬·½·¨£¬°üÀ¨ÏñËØ×ø±êÓëÍø¸ñ×ø±êÖ®¼äµÄת»»£¬ÏñËØ×ø±êÓëµØͼÇÐƬ×ø±êÖ®¼äµÄת»»£¬Â˾µµÈ
ImageLoaderÀàÖ÷ÒªÍê³É¼ÓÔØͼƬ×ÊÔ´£¬¿É¼ÓÔص¥¸öͼƬ»òÒ»×éͼƬ£¨´«ÈëͼƬURLÊý×飬»ñÈ¡BitmapDataÊý×飩¡£
building°üÏÂΪ¼ÓÔؽ¨ÖþÎ¼ÓÔØrole£¬´¦ÀíÕÚµ²£¨²»¹»ÍêÉÆ£©¡£
role°üÏÂΪ½ÇÉ«À࣬ÓÉRoleManagerÏòbuildingÊäËÍroleºÍ¼ÓÔØ×ÊÔ´µÈ¡£
 ÌùϽØͼ°É£º
Õâ¸ödemo¾Í½éÉܵ½Õâ°É¡£Ï£ÍûÄܸøÄã´øÀ´°ïÖú¡£¡£¡£¡£


Ïà¹ØÎĵµ£º

Àí½â Flex itemRenderer µÚ 4 ²¿·Ö: ״̬ºÍ¹ý¶É

Ô­ÎĵØÖ·£ºhttp://www.adobe.com/cn/devnet/flex/articles/itemrenderers_pt4.html
itemRenderer ×îÉó¤ÓëÓ¦ÓóÌÐòµÄÓû§Í¨ÐÅ¡£ÓÐʱͨÐźܼòµ¥, Ö»ÊÇÏÔʾһ¸öÃû³Æ£»ÓÐʱ»áʹÓøü¾«ÖµÄÑÕÉ«£»ÓÐʱ¾ßÓн»»¥ÐÔ¡£
itemEditor ÊÇÕæÕýµÄ½»»¥¿ØÖÆ, µ«ËüÃDz»ÊDZ¾ÎĵÄÖص㡣ÔÚÕâЩʾÀýÖÐ, ÎÒ½«ÏòÄúչʾ¸ù¾ÝÊý¾Ý±¾Éí»òÓû§²Ù×÷¸ü¸Ä¿ ......

flex ×Ô¶¨Òå½ø¶ÈÌõ

µÚÒ»ÖÖ£ºÐÞ¸ÄÏÂÔؽø¶ÈµÄÎÄ×ÖΪÖÐÎÄ
½¨Á¢À©Õ¹ÖÁ mx.preloaders.DownloadProgressBar µÄÒ»¸öÀࣺ
01.package myDownPro
02.{
03.import mx.preloaders.DownloadProgressBar;
04.
05.public class myDownProBar extends DownloadProgressBar
06.{
07. public function myDownProBar()
08. {
09. //TODO: impl ......

FlexÖÐÓ¦ÓóÌÐò¡¢Ä£¿éÖ®¼ä²ÎÊý´«µÝ

·   FlexÖÐÓ¦ÓóÌÐò¡¢Ä£¿éÖ®¼ä²ÎÊý´«µÝÒ»°ãÓÐÈýÖÖ·½Ê½:
·   1.ͨ¹ýURLЯ´ø²ÎÊý½øÐд«µÝ
·   2.ͨ¹ýʼþ½øÐд«µÝ
·   3.ʵÏÖ½Ó¿Ú½øÐд«µÝ
·   ÆäÖÐURL´«µÝ²ÎÊýʱ£º
·   ApplicationÖ®¼äºÍModuleÖ®¼äÊÇÓÐÇø±ðµÄ ......

MyEclipse 7.5,MyEclipse 8.0Öа²×°Flex²å¼þ

²»¿É·ñÈÏMyEclipseÏÖÔÚÔ½×öԽǿ´ó£¨±Ï¾¹ÊÇÊշѵÄÂ£¬Ç¿´óµ½¿ªÊ¼ÅųâµÚÈý·½²å¼þ£¬ÕâÓÐЩ²»·ûºÏEclipseµÄ³õÖÔ£¬Eclipse¾ÍÊÇ¿¿Á¼ºÃµÄÀ©Õ¹ÐÔ·¢Õ¹ÆðÀ´µÄ¡£
MyEclipse´Ó7.5¿ªÊ¼£¨7.0ûÓùý£¬²»ÖªµÀ£©£¬ÍêÈ«¸Ä±äÁ˳ÌÐò½á¹¹£¬ÏÖÔÚÀ©Õ¹µÚÈý·½²å¼þ ÔÙҲûÓÐÒÔÇ°ÄÇô·½±ãÁË£¬ÌرðÊÇlink·½Ê½£¬Õâ¶Ô³ÌÐòÔ±À´ËµÊÇÖÂÃüµÄ¡£Flex Plugin ° ......

flex»­Í¼ÐÎʾÀý

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"
creationComplete="doDraw()"
backgroundColor="#d6d4d4" backgroundGradientColors="[#FFFFFF, #FFFFFF]">
<mx:Canvas id="paper"
x="30"
y="24"
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ