flexÊ÷ÐÎÑ¡ÔñÓû§µÄʵÏÖ
ʹÓÃflex tree ºÍlistʵÏÖÈçÏÂÑ¡ÔñÓû§µÄЧ¹û
<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
showCloseButton="true" creationComplete="loadMenu()"
close="closeWindow()" styleName="customPopUp" width="608" height="482"
horizontalAlign="center" title="Ñ¡ÔñϵͳÓû§£º">
<mx:Style source="./css/cssblue.css"/>
<mx:Script>
<![CDATA[
import comas.base.common.Globa;
import mx.controls.Alert;
import mx.managers.PopUpManager;
import comas.base.common.HttpUtil;
import mx.rpc.events.ResultEvent;
import mx.utils.StringUtil;
import mx.events.ToolTipEvent;
import mx.controls.ToolTip;
import mx.events.ValidationResultEvent;
import mx.collections.ArrayCollection;
[Bindable]
public var returnFunction:Function;
public var tracerObject:Object;
public var initUsers:String;
private function doSubmit():void
{
Ïà¹ØÎĵµ£º
×î¼òµ¥µÄ·½·¨ÊDZ¾µØ»¯±àÒ룬¼´±àÒ벻ͬµÄÓïÑÔ°æ±¾
£¬È»ºóʹÓÃ
Application Server
À´Åж¨¿Í»§Ê¹ÓõÄÊÇÄÄÖÖÓïÑÔ£¬²¢×Ô¶¯Ö¸Ïò¶ÔÓ¦µÄ
swf
Îļþ¡£
¾ßÌå×ö·¨ÈçÏ£º
ÔÚÏîÄ¿Éϵã»÷ÓÒ¼ü£¬Ñ¡Ôñ
Properties
¡£
È»ºóÑ¡Ôñ
Flex Compiler
£¬ÔÚ
Additional Compiler arguments
ÏÂÃæÒѾÅäÖúÃÓïÑÔ°üÁË£¬Ä¬ÈÏΪ
-locale en_ ......
£¨×¢£º²ÉÓÃfb4 beta1¿ª·¢£¬ÓÉÓÚ¼æÈÝÎÊÌ⣬¿ÉÒÔÊʵ±¼ÓÒÔÐ޸ķŵ½×Ô¼ºµÄ»·¾³ÖУ¬²âÊÔµÄʱºòÐèÒª·Åµ½·þÎñÆ÷ÉÏÃ棬±¾È˵IJâÊÔurlΪ
http://127.0.0.1/astest/asjs.html?msnum=13112345678£©
mxmlÎļþ£º
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" creation ......
½ñÌìÓöµ½µÄÒ»¸öÎÊÌ⣬¶ÁÈ¡ÍøÕ¾ÉϵÄÒ»¸öXMLÎļþ±»¾Ü¾ø£¬´íÎóÃèÊöÈçÏ£º
*** °²È«É³Ïä³åÍ» ***
µ½127.0.0.1:8080µÄÁ¬½ÓÒÑÍ£Ö¹ - ²»ÔÊÐí´Ód:/flex/work/bin_debug/work.swf½øÐÐÁ¬½Ó
´íÎ󣺾ܾøÇëÇóλÓÚ http://127.0.0.1:8080/php/work.xml µÄ×ÊÔ´£¨ÇëÇóÕß´Ód:/flex/work/bin_debug/work.swf·¢³öÇëÇ󣩣¬ÔÒòÊÇȱ·¦²ß ......
Ò»¡¢Ê¹Óñ¾µØÑùʽ¶¨Òå
ʹÓÃ<mx:Style>±êÇ©ÔÚMXMLÎļþÖд´½¨±¾µØµÄÑùʽ¶¨Òå¡£Õâ¸ö±êÇ©°üº¬ÁË·ûºÏCSS2.0Óï·¨µÄÑùʽ±í¶¨
Òå¡£ÕâЩ¶¨Òå»áÓ¦Óõ½µ±Ç°ÎĵµÒÔ¼°µ±Ç°ÎĵµµÄ×ÓÎĵµ¡£
<mx:style>
.solidBorder{//ÀàÑ¡ÔñÑùʽ
border-style:solid;
}
button{//×é¼þ¶¨ÒåÑùʽ
border-style:solid;
}
....
</mx: ......
×¢£ºµÚÒ»ÁÐÊÇ´øCheckboxµÄTree¡£
»¹ÓÐÎÊÌâÇë½Ì¸÷λ£º
labelFieldÊÇÔªËضÔÏóµÄÊôÐÔÊÇÏÔʾ²»ÁË£¨carInfo.car_name£©£¬ºÃÏñÖ»¿ÉÏÔʾͬ¼¶µÄÊôÐÔÔõô½â¾ö£¿Ï£Íû¸÷λÄÜ°ïÖúÎÒ£¬Thanks!
<mx:AdvancedDataGrid id="adg" width="100%" height="100%" dataProvider="{instance.cars}"
&n ......