flex datagrid .net
==============flex===========
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="Service.GetCustomers.send();" width="689" height="592">
<mx:WebService id="Service" wsdl="http://localhost:4702/flex/Service.asmx?WSDL" useProxy="false">
<mx:operation name="GetCustomers">
</mx:operation>
</mx:WebService>
<mx:DataGrid x="25" width="100%" y="10" dataProvider="{Service.GetCustomers.lastResult.Tables.customer.Rows}">
<mx:columns>
<mx:DataGridColumn headerText="ID" dataField="id"/>
<mx:DataGridColumn headerText="±êÌâ" dataField="title"/>
<mx:DataGridColumn headerText="ÄÚÈÝ" dataField="content"/>
<mx:DataGridColumn headerText="ʱ¼ä" dataField="time"/>
<mx:DataGridColumn headerText="ÀàÐÍ" dataField="type"/>
</mx:columns>
</mx:DataGrid>
</mx:Application>
=========flex=======================
==========.net===================
Imports System.Web
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Data
Imports System.Data.SqlClient
'ÈôÒªÔÊÐíʹÓà ASP.NET AJAX ´Ó½Å±¾Öе÷ÓÃ´Ë Web ·þÎñ£¬ÇëÈ¡Ïû¶ÔÏÂÐеÄ×¢ÊÍ¡£
' <System.Web.Script.Services.ScriptService()> _
<WebService(Namespace:="http://tempuri.org
Ïà¹ØÎĵµ£º
--------web.xmlÎļþ
<listener>
<listener-class>flex.messaging.HttpFlexSession</listener-class>
</listener>
--------Java´úÂë
public class GetSeesion {
/**
* ÉèÖÃsession
* */
public ......
ÔÚFlexÀïÃæ²»ÏñÔÚFlashÀïÃæËæÒâÖÆ×÷¶¯»ÁË£¬Flex¸üÇ÷ÏòÓÚÓ¦ÓóÌÐò£¬¶ø²»ÊǶ¯»ÖÆ×÷ÁË£¬ËùÒÔûÓÐÁËʱ¼äÖáµÄ¸ÅÄî¡£ÔÚFlexÖÐʹÓö¯»Ð§¹û£¬¿ÉÒÔÓÃFlex×Ô´øµÄEffect£¬»òÕß×ÔÒѶ¨ÖÆEffect£¬ÒòΪºÜ¶àÈ˶¼Ïë½èFlashÀïÃæµÄÒ»Ñù²Ù×÷Flex£¬±ÈÈçÔÚFlashÀïÃæ×öÒ»¸ö¶¯Ì¬°´Å¥ºÜÈÝÒ×£¬µ±Êó±êÒÆ¶¯µ½ÉÏÃæÊ±£¬»áÓкܶ෢¹âµÄµãÅܳöÀ´£¨Ó«»ð³æÐ ......
//»ñµÃÆÁÄ»µÄ·Ö±æÂÊ
var x:Number=Capabilities.screenResolutionX;
var y:Number=Capabilities.screenResolutionY;
Alert.show("x="+x+"y="+y);
µÚ¶þÖÖ·½·¨
Alert.show(stage.fullScreenWidth+"=="+stage.fullScreenHeight);
//»ñµÃstage£¨¹¤×÷Çø£©µÄ¿í¡¢¸ß
Alert.show(stage.stageWidth+"=="+stage.stageHei ......
FlexÖеı¾µØ¹²Ïí¶ÔÏó--SharedObject
±¾µØ¹²Ïí¶ÔÏóÓÐʱ±»³Æ×÷“Flash Cookie”£¬ËüÊÇÒ»¸öÊý¾ÝÎļþ£¬¿ÉÒÔÓÉËù·ÃÎʵÄÕ¾µãÔÚÄúµÄ¼ÆËã»úÉÏ´´½¨¡£ÔÚFlashÖÐÌṩÁËÏÂÃæµÄ²Ù×÷±¾µØ¶ÔÏóµÄ·½·¨£º
SharedObject.clear() ɾ³ý±¾µØ¹²Ïí¶ÔÏó£»
SharedObject.flush() Á¢¼´°Ñ¹²Ïí¶ÔÏóÊý¾ÝдÈë±¾µØÎļþ£»
SharedObject.getLoc ......
themeColor Ö÷ÌâÑÕÉ«£ºÈç¹û¶ÔÉ«²ÊÑùʽÅäÖò»Ïë¹ý¶àµÄÈ¥ÉèÖõϰ£¬themeColorÊÇÒ»¸öÑ¡Ôñ¡£Ëü¿É
ÒÔÈÃÄãÑ¡ÔñÒ»ÖÖ»ù±¾É«²Ê£¬È»ºó×é¼þµÄ±ß¿ò£¬Íâ¹ÛµÈÉ«²Ê½«»áÒÔ´ËÉ«²ÊΪ»ù´¡¹¹³ÉÒ»×éȱʡµÄÑùʽ£¬×é¼þ¾ù¿ÉʹÓôËÑùʽÊôÐÔ¡£
Application×é¼þÑùʽÊôÐÔ
backgroundImage &n ......