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

Flexµ¯³ö¶Ô»°¿òdemo


       flexµ¯³ö¶Ô»°¿òʾÀý³ÌÐò·ÖΪÁ½²¿·Ö£ºMain.mxmlºÍSimpleTitleWindowExample.mxml£¬ÆäÖÐMail.mxmlΪÖ÷³ÌÐòÎļþ£¬SimpleTitleWindowExample.mxmlΪ¶Ô»°¿òÎļþ£¬¿ÉÒÔͨ¹ýÐÞ¸ÄSimpleTitleWindowExample.mxmlÎļþÀ´Ð޸ĶԻ°¿òÉϵÄ×é¼þ¡£
Main.mxml
<?xml version="1.0" encoding="utf-8"?>
<!-- Main application to demonstrate TitleWindow layout container. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" fontSize="12" width="1024" height="768" layout="absolute">
 
    <mx:Script>
      <![CDATA[
           import mx.managers.PopUpManager;
   
           private function showAlertWindow():void{
             var myPanel:SimpleTitleWindowExample = SimpleTitleWindowExample(PopUpManager.createPopUp(this, SimpleTitleWindowExample, true)); // ÕâÀïµÚÈý¸ö²ÎÊý true ±íʾ: µ¯³ömyPanel´°¿Úºó, ÊÇ·ñ¿ÉÒÔ¶Ô¸¸¼¶²Ù×÷, ֵΪtrueʱ, ¾Í»á²úÉú±³¾°Ä£ºýµÄЧ¹û, ²¢²»ÄܶԸ¸¼¶µÄ¶«Î÷½øÐвÙ×÷
             myPanel.x = 420;
             myPanel.y = 170;     
           }
       ]]>
    </mx:Script>
   
    <mx:Button label="°´ÎÒÒ»ÏÂ" click="showAlertWindow()" x="512" y="472"/>
</mx:Application>
 
 
SimpleTitleWindowExample.mxml
 
<?xml version="1.0" encoding="utf-8"?>
<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="256" height="204" fontSize="12" title="µ¯³öµÄ´°¿Ú">
    <mx:Script>
       <![CDATA[
  


Ïà¹ØÎĵµ£º

flex ʵÏÖÈ«ÎļìË÷ÖеĸßÁÁÏÔʾ´úÂë

<mx:DataGrid id="dg" click="select()" dataProvider= "{modelLocator.resultList}" borderStyle="none"
verticalGridLines="false" horizontalGridLines="false" verticalScrollPolicy="off" rowCount="10"
fontSize="16" fontStyle="normal" fontThickness="0" width="100%" height="100%">
<mx:columns& ......

flexС´íÎ󣨳£¼Ç¶à×ö£©2

   ArrayCollection¾­³£×öComboBox¿Ø¼þµÄ¼¯ºÏ»¹ÓÐDataGridµÄ¼¯ºÏ£¬Òª×¢ÒâËüµÄ¸ñʽ¡£dataµÄÊôÐÔÀïÃæÈç¹ûÊÇÊý×Ö²»ÐèҪ˫ÒýºÅ£¬ÈôÊÇ×Ö·û´®¾Í±ØÐë¼Ó£¬¶øÇÒÐèÒªÌáÇ°×÷var¶¨Òå     
           public var outgoing:String;
        ......

Flexʼþ»úÖÆ

Flexʼþ»úÖÆÊǹ۲ìÕßģʽ£¬¼´Ê×ÏÈҪע²áʼþ£¬Ê¼þ·Ö·¢ºóͨ¹ýʼþÏìÓ¦º¯Êý½øÐд¦Àí¡£
ÀýÈçÔÚAS3ÖУº
button.addEventListener(¡°click¡±,onClick);//Ïòbutton×¢²áÒ»¸öclickʼþ
internal function onClick(evt:MouseEvent):void{txt.text=¡°click a button!¡±;}//ʼþÏìÓ¦º¯Êý ÄÇôע²áʼþ×¢²áʲôÄØ£¿Í¨ ......

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

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

FABridge½Ì³Ì(Flex+Ajax) 2

Ê×ÏÈÔÚfademo.mxmlÖÐÉùÃ÷Ò»¸öbutton£¬²¢Ìí¼ÓÒ»¸öbtnClick·½·¨£º
view plaincopy to clipboardprint?
<?xml version="1.0" encoding="utf-8"?> 
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"   
             ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ