flexµÄ»ù´¡
1.ÔÚflexÀïÃæÏÔʾ²éѯºóµÄlist¼¯ºÏÊý¾Ý
private var model:ModelConfig=ModelConfig.getOne();
ModelCongÀàÖдæ·ÅһЩȫ¾ÖµÄ¶«Î÷ҪʵÏÖ½Ó¿Úimplements IModelLocator
£¨Èçpublic var root:String="http://192.168.1.68:8090/OA";--ϵͳÊý¾Ý£¬
public var users:UsersVO=new UsersVO();ÓÃÀ´´æ´¢ÐÅÏ¢µÄ±äÁ¿£¬
public var tiaomaLogTing:ArrayCollection=new ArrayCollection();//List¼¯ºÏÓÃÀ´´æ·ÅÀàËÆÓëusersµÄJAVABEANʵÌå¶ÔÏó£©
<mx:DataGrid dataProvider="{model.tiaomaLogTing}" id="tiaomaList" >
<mx:columns>
<mx:DataGridColumn headerText="daima" dataField="daima"/>//daimaÊÇJAVABEANʵÌåÀàÀïÃæµÄÊôÐÔ
<mx:DataGridColumn headerText="chongfu" dataField="chongfu"/>
<mx:DataGridColumn headerText="jieshu" dataField="jieshu"/>
<mx:DataGridColumn headerText="shuliang" dataField="shuliang"/>
<mx:DataGridColumn headerText="xftm" dataField="xftm"/>
</mx:columns>
</mx:DataGrid>
2.Óëºǫ́½»»¥
flexǰ̨ҪÓÐÒ»¸öºÍºǫ́¶ÔÓ¦µÄVOÓÃÀ´´æ´¢ÐÅÏ¢
2.1²éѯquery();
creationComplete="query();"//Ò³Ãæ¼ÓÔØÊ¼þ
public function query():void{
var name:String=this.ename.text;
var title:String=this.title.text;
var content:String=this.content.text;
var para:Object={tname:name,
ttitle:title,
tcontent:content,
tsid:sid,
loginname:loginname,
type:'init'};
CairngormUtil.event("TopicListCD",para);//Óëºǫ́½»»¥µÄCD
}
TopicListCD
Ïà¹ØÎĵµ£º
¡¡¡¡¾¹ý·´¸´µÄµ÷ÊÔ¸ú×Ù£¬ÔÚcairngorm¿ò¼Ü²»ÄܵؿØÖÆÊý¾Ý¸üвÙ×÷µÄ´¥·¢Ë³Ðò£¬ÎÞ·¨±£Ö¤Í¬Ê±¶ÁÈ¡“Ä£ÐÍ”²ãµÄµãÀà(equip)¡¢ÏßÀࣨlink£©ÊµÀý¶ÔÏóµÄÊý¾Ý¡£
¡¡¡¡¿´À´£¬Ö»ÄÜÔÚ¿ØÖÆmxml¿Ø¼þÖжԿؼþ½øÐпØÖÆÁË¡£ ......
еÄÒ»ÆÚµÄflash&flex ¹úÍâµÄÔÓÖ¾·¢²¼£¬¿´À´Ò»°àÖÆ×÷ÈËÕæµÄºÜÓÐÐÄ˼¡£×î½üCSDN ͼƬÉÏ´«²»µ½£¬Á¬Ð´¶«Î÷Ò²²»·½±ãÁË¡£
ËùÒÔ¾ÍÎÞ°ì·¨ÌùͼÁË
ÓÐÐËȤµÄÈË¿ÉÒÔµ½ÕâÀïÏÂÔØÐµÄÒ»ÆÚÍâ¹úµÄ¹ØÓÚflash ºÍflex ×ÊѶµÄÔÓÖ¾¡£
http://ffdmag-en.software.alfa.javatech.com.pl/download-1-2010 ......
FlexÀ¬»ø»ØÊÕºÍÐÔÄÜÓÅ»¯
2009-10-10 10:08
FlexÀ¬»ø»ØÊÕµÄһЩ֪ʶ×ܽ᣺
1¡¢±»É¾³ý¶ÔÏóÔÚÍⲿµÄËùÓÐÒýÓÃÒ»¶¨Òª±»É¾³ý¸É¾»²ÅÄܱ»ÏµÍ³µ±³ÉÀ¬»ø»ØÊÕ´¦Àíµô¡£
2¡¢¸¸¶ÔÏóÄÚ²¿µÄ×Ó¶ÔÏó±»ÍⲿÆäËû¶ÔÏóÒýÓÃÁË£¬»áµ¼Ö´Ë×Ó¶ÔÏ󲻻ᱻɾ³ý£¬×Ó¶ÔÏ󲻻ᱻɾ³ýÓֻᵼÖÂÁ˸¸¶ÔÏ󲻻ᱻɾ³ý¡£
3¡¢Èç¹ûÒ»¸ö¶ÔÏóÖÐÒýÓÃÁËÍⲿ¶ÔÏ󣬵±× ......
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()" layout="absolute" xmlns:ns1="com.component.*">
<mx:Script>
<![CDATA[
import com.component.DataHBox;
import com.component. ......
1¡¢mian.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute" creationComplete="HTTPSrv.send();" width="242" height="442">
<mx:Script>
<!--[CDATA[
import mx.rpc.events.ResultEv ......