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

Flex´°¿Ú·ÃÎʸ¸´°¿Údemo

1.Èç¹ûʹÓÃMVC¿ò¼Ü£¬ÏàÐÅÕâ²¢²»ÊÇÒ»¸öÎÊÌâ¡£¶øÈç¹ûûÓÐʹÓõĻ°£¬¿ÉÒÔÓÃÀàËƵķ½·¨ÉèÖÃÒ»¸öµ¥Àý£¬×Ó´°¿ÚºÍ¸¸´°¿Úͨ¹ýÕâ¸öµ¥ÀýÀ´½»»¥ÏûÏ¢£¬Èç¹ûÐèÒª½âñÇë·¢ËÍ×Ô¶¨Òåʼþ¡£×ÜÖ®£¬Ö»Òª°´ÕÕMVC˼·À´×ö¾Í¿ÉÒÔÁË¡£
2.ÀàËÆJS£¬ÔÚ×Ó´°¿ÚµÄ¹¹Ô캯ÊýÀïÔö¼ÓÒ»¸ö²ÎÊý£¬½«¸¸´°¿Ú´«²Î½øÈ¥¡£MXMLûÓй¹Ô캯Êý£¬ÓÃÒ»¸öÊôÐÔÀ´±£´æ¸¸´°¿ÚÒýÓÃÒ²¿ÉÒÔ¡£
3.ÎÞÂÛÊÇcreatePopUp»¹ÊÇaddPopUp£¬ËûÃǶ¼ÓÐÒ»¸ö·µ»ØÖµ£¬µÃµ½×Ó´°¿ÚµÄʵÀý¡£¿ÉÒÔ¶ÔÕâ¸öʵÀý¼àÌýremoveʼþ£¬²¢ÔÚÕâ¸öʼþÖÐÖ±½Ó¶ÁÈ¡×Ó´°¿ÚÐèÒª·µ»Ø¸ø¸¸´°¿ÚµÄÊôÐÔ¡££¨¼ÇµÃÒª½«Õâ¸öʼþ×îÖÕÒƳý£©
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
 <mx:Panel x="94" y="178" width="503" height="347" layout="absolute">
  <mx:TextInput x="134" y="64" id="tit_usr" text="username"/>
  <mx:TextInput x="134" y="125" id="tit_psw" text="password"/>
  <mx:Button x="171" y="209" label="Submit" click="mytw_click()"/>
 </mx:Panel>
 <mx:Script>
  <![CDATA[
 import mx.containers.TitleWindow;
 import mx.managers.PopUpManager;
 import mx.controls.Text;
 
 private var tw:titlewindow=new titlewindow();
 
 private function  mytw_click():void{
  if(tw.visible){
   PopUpManager.removePopUp(tw);
  }
  PopUpManager.addPopUp(tw,this);
  PopUpManager.centerPopUp(tw);
  tw.addEventListener("tw_click",update);
 }
 
 private function update(event:Event):void{
  tit_usr.text=tw.tw_usr.text;
  tit_psw.text=tw.tw_psw.text;
  PopUpManager.removePopUp(tw);
 }
  ]]>
 </mx:Script>
 
</mx:Application>
µ¯³ö´°¿Ú£º
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="498" height="368" showCloseButton="true" close="PopUpManager.removePopUp(this)">
 <mx:Label x="96" y="67" text="username" width="97" height="26"/>
 <mx:Label x="96" y="128" text="password" width="97" height="24"/>
&


Ïà¹ØÎĵµ£º

FLEX TitleWindowÖ®¼äÊý¾Ý´«ÊäµÄʾÀý


ÔÚFlexÀһ°ãµÄµ¯³ö´°¿Ú£¨³ýÁËAlertÒÔÍ⣩¶¼¿ÉÒÔÓÃTitleWindow×é¼þÍê³É£¬Ö÷´°¿ÚºÍTitleWindowµÄÊý¾Ý´«Êä¿ÉÒÔÓÃÒÔÏ·½·¨
¼ÙÉèTitleWindowµÄʵÀýÎļþΪtitleWin.mxml£¬ÔòÒªÔÚApplicationÖÐÓÃPopUpManager´´½¨Ò»¸ötitleWinµÄÒýÓÃ
private var popWin:titleWin = titleWin(PopUpManager.createPopUp(this,titleWin,true) ......

flex ×°Ôضà¸ömodule³öÏÖ: Ç¿ÖÆת»»ÀàÐÍʧ°Ü

flex ×°Ôضà¸ömodule³öÏÖ: Ç¿ÖÆת»»ÀàÐÍʧ°Ü,³öÏÖijЩÀ಻ÄÜת»»
ÀýÈ磺
 ÎÞ·¨½« mx.managers::PopUpManagerImpl@7155ac1 ת»»Îª mx.managers.IPopUpManager¡£
½â¾ö·½·¨ÊÇÔÚApplication¼ÓÈëÒýÓÃ
1.
import
 mx.managers.DragManager;
private
 var dragManager : DragManager;
2. ......

Flex Alert


<?xml version="1.0"?>  
<!-- Simple example to demonstrate the Alert control. -->  
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">  
  
    <mx:Script& ......

flex ÈÕ¼Ç1 cairngorm

ѧflex¾ÍÊÇΪÁËÌø²Û£¬Íò¶ñµÄ¹«Ë¾£¬Äêµ×ʲô¶¼Ã»ÓУ¬º¦µÄÎÒ¶¼Ã»Ç®»Ø¼Ò£¬±­¾ß°¡¡£
ѧflexÒѾ­ÓÐÒ»¶Îʱ¼äÁË£¬ÎÒÊÇjava³ÌÐòÔ±£¬»¶Ó­´ó¼Ò½»Á÷
×î½üѧÁ˵ãcairngorm   ¸Ð¾õÓÃÆðÀ´±Èstruts·±ËöÒ»µã£¬·Ï»°ÉÙ˵£¬ÉÏ´úÂ룺
1.ÏÈ¿´vo,±¾ÊµÀýÊÇÒ»¸öÌí¼ÓÁªÏµÈ˵ÄСÀý×Ó£¬Ãû×Ö£¬ÓÊÏ䣬Ìí¼Óʱ¼äÈý¸öÊôÐÔ£¬¶¼ÊǸã javaµÄ£¬ÁõÈô ......

java¿ª·¢ÈËԱΪʲôҪѧϰflexºÍblazeds

±¾ÎÄÁÐÊöÁË13¸öJava³ÌÐòÔ±Ó¦µ±Ñ§Ï°FlexºÍBlazeDSµÄÀíÓÉ£¬ÌÖÂÛ ÁËΪʲôFlex½áºÏBlazeDSÊÇ¿ª·¢RIAµÄ×î¼Ñ×éºÏÖ®Ò»¡£ÎÞ ÂÛÊǸ߶Ƚ»»¥µÄÍøÕ¾»¹ÊÇÒÔJavaΪºó¶ËµÄÆóÒµÓ¦Óã¬ÕâÏî×éºÏ¶¼ÊÇ×î¼ÑÑ¡ÔñÖ®Ò»¡£¸üÖØÒªµÄÊÇ£¬ÕâÏî×éºÏÄÜͬʱΪ¿ª·¢Ô±ºÍÆóÒµ´øÀ´¸ß»Ø±¨£¨ROI£©¡£
ÔÚ²ûÊöJava³ÌÐòÔ±Ó¦µ±Ñ§Ï°BlazeDSµÄ13ÌõÀíÓÉʱ£¬ÎÒÒÔÒ»¸ö¼ÙÏëµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ