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

FLEX ·ÂGoogleÁªÏë¿òЧ¹û

FLEX--·ÂGoogleÁªÏë¿òЧ¹û--ÏÖÔںöàµØ·½¶¼Óõ½ÁËÕâÑùµÄЧ¹û,µ±È»,ÏÖÔÚGoogleÏÂÏßÁË,²»ÈÃÓÃÁË,µ«ÊǸúÍøÉÏ˵µÄÒ»Ñù,Ïë°ì·¨,Ëü»¹ÊÇÄܳöÀ´µÄ
Ê×ÏÈÊÇʼþÔ´£¬Ò²¾ÍÊǴӺζøÆð£¬ÈçϵÄÒ»¸öÊäÈë¿ò£º
¸´ÖÆ´úÂë ´úÂëÈçÏÂ:
<mx:FormItem label="¼¯ÍÅ¿Í»§:" width="42%">
<!--change1-->
<mx:TextInput id="txtAssociation" width="235" maxChars="32" change="associate();"/>
</mx:FormItem>
È»ºó¾ÍÊÇ´¦ÀíЧ¹û£¬ÕâЩÄÚÈݶ¼ÊÇ´ÓÊý¾Ý¿âµÃµ½µÄÊý¾Ý£¬¶¯Ì¬µÄ²é³öµÄ¡£
¸´ÖÆ´úÂë ´úÂëÈçÏÂ:
import mx.collections.ArrayCollection;
import mx.events.FlexMouseEvent;
import mx.events.ListEvent;
import mx.managers.PopUpManager;
import resources.com.list.Association;
// ¾­¹ýäÖȾµÄÁªÏë½á¹ûList
private var list:Association;
// ÁÙʱ×Ö·û´®,ÓÃÓÚÅжϵ±keyUpʼþ·¢Éúʱ,ÁªÏë¿òµÄÖµÊÇ·ñ·¢Éú¸Ä±ä,Èçδ¸Ä±äÔò²»ÁªÏë
private var temp:String = '';
private function changeAssociation():void{
temp='';
txtAssociation.text='';
associationResult=null;
if(list != null){
PopUpManager.removePopUp(list);
list = null;
// Çå¿ÕÁÙʱ×Ö·û´®
}
}
private function associate():void {
var str:String = txtAssociation.text;
if(str.length<2){
associationResult=null;
}
if (str != temp) {
if(str.length < 2){
if(list != null){
PopUpManager.removePopUp(list);
list = null;
// Çå¿ÕÁÙʱ×Ö·û´®
temp = '';
}
return;
}
temp = str;
var params:Object = {};
params['areaNO'] = cbxArea.selectedItem.data;
params['netType'] = cbxNetType.selectedItem.data;
params['str'] = str;
params['handle'] = 'associate';
service4association.send(params);
}
}
private function openAssociation():void {
if(service4association.lastResult.items != null)
createAndShow(service4association.lastResult.items.item);
else if(list != null){
PopUpManager.removePopUp(list);
list = null;
// Çå¿ÕÁÙʱ×Ö·û´®
temp = '';
}
}
private function createAndShow(dp:Object):void {
// ÿ´Î´ò¿ªÁªÏë¿òÒÔÇ°, ÏÈÇåÀí»º´æ
if(list != null){
// ½«ÁªÏë¿ò´ÓPopUpManagerÖÐÒƳý
PopUpManager.


Ïà¹ØÎĵµ£º

ÀûÓôúÂëÓë²¼¾Ö·ÖÀë¼¼Êõ¹¹½¨×Ô¶¨ÒåFlex×é¼þ


XMLºÍActionScriptÔÚ´´½¨×é¼þ·½Ãæ¸÷ÓÐÓÅȱµã£º
ÔÚ´´½¨¸´ºÏ×é¼þʱ£¬MXML¿ÉÒÔʱ´´½¨¹ý³Ì±äµÃºÜÈÝÒ×£¬²¢ÇÒ·½±ãÓÚ¶Ô×ӿؼþ½øÐв¼¾Ö¡£
ÔÚÐÞ¸Ä×é¼þÐÐΪʱ£¬ÎÒÃÇ¿ÉÒÔÓÃActionScriptÀ´ÐÞ¸ÄËûÃǵķ½·¨¡£
´ó¶àÊýʱºò£¬ÎÒÃÇ»áʹÓÃMXMLºÍActionScript½áºÏµÄ·½Ê½À´´´½¨Flex×é¼þºÍÓ¦Óá£
FlexÌṩÁ˶àÖÖ·½Ê½À´½áºÏʹÓÃMXMLºÍActionS ......

flex ÖÐʵÏÖ×Ô¶¨Òå¹ö¶¯

ÔÚÓ¦ÓÃÖУ¬ºÜ¶à¶¼ÏëʵÏÖflexµÄ¿Ø¼þûÓйö¶¯ ¶øÊÇͨ¹ýÆäËûµÄ°´Å¥·½Ê½½øÐпؼþÄÚÈݵĹö¶¯£¬ÕâÑùʵÏֵĿªÊ¼µ±È»ÊÇÒªÉèÖÃhorizontalScrollPolicy="off" verticalScrollPolicy="off"ÁË£¬È»ºóͨ¹ýcontainerµÄhorizontalScrollPosition »òverticalScrollPositionµÄ¼Ó ¼õÀ´ÊµÏÖÄÚÈÝ×óÓÒ¡¢ÉÏϹö¶¯¡£Ë¼Â··½·¨ÍêÈ«ÕýÈ·£¬µ«ÊÇÔÚÕâÑùµÄÇ ......

Flex»ù±¾Ô­Àí

Á˽âFlex³ÌÐòµÄÉúÃüÖÜÆÚ
Flex³ÌÐò´Ó±¾ÖÊÉϽ²£¬¾ÍÊÇʹÓÃÁË£¨ÓÉAS±àдµÄ£©Flex¿ò¼ÜµÄFlash³ÌÐò¡£
µ«ÔÚFlex³ÌÐòÖпÉÒÔºöÂÔtimelineÕâ¸ö¸ÅÄËùÓеÄÄÚÈݶ¼¼¯ÓÚÒ»Ö¡¡£
ÊÂʵÉÏFlex³ÌÐòÖеĸù£¬ÊǼ̳Ðflash.display.MovieClipµÄmx.managers.SystemManager¡£
SystemManagerÓÐÁ½Ö¡¡£µÚÒ»Ö¡ÊÇÔ¤¼ÓÔسÌÐò£¬µÚ¶þÖ¡ÊÇÖ÷³ÌÐò¡£
Òò´Ë ......

Flex´úÂëÖع¹ÊµÂ¼(1)

Ç°ÑÔ
    ×î½ü£¬Õý½ß˹µ×ÀïµØÖع¹flex¼¼Êõƽ̨¿ª·¢µÄ²úÆ·¡¾wizBuilder CS¡¿¡£ÒÔǰΪ¸Ï¹¦ÄÜ£¬½çÃ沿·Ö´úÂ붼дµÃºÃÂÒ£¬ÏÖÔÚÊÇʱºòÐÞÀíÏÂ×Ô¼º×÷µÄÄõÁË£¬Ë³±ãΪ²úÆ·Ìí¼Ó¶àÓïÑÔÖ§³Ö(Localization)¡£
Ö÷ÒªÈÎÎñ
´úÂëÖع¹
¶àÓïÑÔÖ§³Ö
Ìí¼Óй¦ÄÜ¡¢ÐÞ¸ÄÏÖÓй¦ÄÜ¡¢È¥µô²»ºÏÀíµÄ¹¦ÄÜ
ÐÞÕýÖع¹¹ý³ÌÖз¢ÏÖµÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ