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

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>
<mx:DataGridColumn dataField="programName " headerText="½ÚÄ¿Ãû³Æ" >
<mx:itemRenderer>
<mx:Component>
<mx:HBox width="100%" height="100%" horizontalAlign="left" verticalAlign="middle" horizontalScrollPolicy="off" verticalScrollPolicy="off">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
override public function set data (value:Object):void
{
if(value != null)
{
super.data = value;
programXYZ.htmlText = data.programName;
//Alert.show(this.programXYZ.text);
}
}
]]>
</mx:Script>
<mx:Text id="programXYZ" />
</mx:HBox>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
</mx:columns>
</mx:DataGrid>
¹Ø¼üÊÇÖØдÁË override public function set data(value:Object):void ·½·¨


Ïà¹ØÎĵµ£º

ÔÚFLEXÖеÄstageÒÔ¼°È«ÆÁÏà¹ØÄÚÈÝ

ÏÖÔÚÎÒÃÇÏÈ¿´¿´´úÂë,ÏÂÃæµÄ´úÂë×°ÔÚcreationCompleteʼþÖе÷ÓÃinit()À´Æô¶¯È«ÆÁ.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"
creationComplete="init()"
>
<mx:Scri ......

FLEX Builder compiler arguments µÄÉèÖÃ

¡¾±àÒë²ÎÊý¡¿
-default-background-color int
-default-frame-rate int
-default-size width height
ÉèÖÃSWFµÄ±³¾°É«£¬Ö¡ÆµÓë¿í¸ß£¬Õâ¸öÒ²¿ÉÒÔͨ¹ýÔª±êÇ©ÉèÖã¬ÖîÈç
[SWF(width="720",height="560",backgroundColor="#000000")]
-default-script-limits
-max-recursion-depth
-max-execution-time
¶¨ÒåÓ¦Óýű¾³ÌÐ ......

Flex 4ÖÐÈçºÎ´´½¨²»¿É±à¼­NumericStepperµÄÀý×Ó

<?xml version="1.0" encoding="utf-8"?>
<s:Application name="Spark_NumericStepper_textInput_editable_test"
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xml ......

ÀûÓôúÂëÓë²¼¾Ö·ÖÀë¼¼Êõ¹¹½¨×Ô¶¨ÒåFlex×é¼þ


XMLºÍActionScriptÔÚ´´½¨×é¼þ·½Ãæ¸÷ÓÐÓÅȱµã£º
ÔÚ´´½¨¸´ºÏ×é¼þʱ£¬MXML¿ÉÒÔʱ´´½¨¹ý³Ì±äµÃºÜÈÝÒ×£¬²¢ÇÒ·½±ãÓÚ¶Ô×ӿؼþ½øÐв¼¾Ö¡£
ÔÚÐÞ¸Ä×é¼þÐÐΪʱ£¬ÎÒÃÇ¿ÉÒÔÓÃActionScriptÀ´ÐÞ¸ÄËûÃǵķ½·¨¡£
´ó¶àÊýʱºò£¬ÎÒÃÇ»áʹÓÃMXMLºÍActionScript½áºÏµÄ·½Ê½À´´´½¨Flex×é¼þºÍÓ¦Óá£
FlexÌṩÁ˶àÖÖ·½Ê½À´½áºÏʹÓÃMXMLºÍActionS ......

Flex´úÂëÖع¹ÊµÂ¼(1)

Ç°ÑÔ
    ×î½ü£¬Õý½ß˹µ×ÀïµØÖع¹flex¼¼Êõƽ̨¿ª·¢µÄ²úÆ·¡¾wizBuilder CS¡¿¡£ÒÔǰΪ¸Ï¹¦ÄÜ£¬½çÃ沿·Ö´úÂ붼дµÃºÃÂÒ£¬ÏÖÔÚÊÇʱºòÐÞÀíÏÂ×Ô¼º×÷µÄÄõÁË£¬Ë³±ãΪ²úÆ·Ìí¼Ó¶àÓïÑÔÖ§³Ö(Localization)¡£
Ö÷ÒªÈÎÎñ
´úÂëÖع¹
¶àÓïÑÔÖ§³Ö
Ìí¼Óй¦ÄÜ¡¢ÐÞ¸ÄÏÖÓй¦ÄÜ¡¢È¥µô²»ºÏÀíµÄ¹¦ÄÜ
ÐÞÕýÖع¹¹ý³ÌÖз¢ÏÖµÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ