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

¹ØÓÚflex µÄ¼¸ÖÖ°ó¶¨

µÚÒ»ÖÖ£¬Ê¹ÓÃ{}°ó¶¨
<mx:TextInput
id=
"input"
/>
<mx:Label
text=
"{input.text}"
/>
µÚ¶þÖÖ£¬<mx:Binding> °ó¶¨
<mx:Application
xmlns:mx=
"http://www.adobe.com/2006/mxml"
layout=
"vertical"
>
<mx:TextInput
id=
"inputSource"
/>
<mx:Label
id=
"labelTarget"
/>
<mx:Binding
source=
"inputSource.text"
destination=
"labelTarget.text"
/>
</mx:Application>
µÚÈýÖÖ£¬Ê¹Óà BindingUtils¹¤¾ßÀà
BindingUtils
.
bindProperty
(
target
,
"targetProperty"
,
source
,
"sourceProperty"
);
target:Object - Ä¿±ê
targetProperty:Ä¿±êÊôÐÔ£¬StringÀàÐÍ
source:Object - °ó¶¨Ô´
sourceProperty:Ô´ÊôÐÔ£¬StringÀàÐÍ
<mx:Application
xmlns:mx=
"http://www.adobe.com/2006/mxml"
layout=
"vertical"
>
<mx:TextInput
id=
"inputSource"
/>
<mx:Label
id=
"labelTarget"
/>
</mx:Application>
<script>

BindingUtils
.
bindProperty
(labelTarget,"text",inputSource,"text");
</script>


Ïà¹ØÎĵµ£º

Flex Tree×é¼þDemo

Õâ¸öDEMO¿ÉÒÔ´´½¨Ò»¸öȫеÄÊ÷Ðͽṹ£¬ÈÃÎҸе½Ææ¹ÖµÄÊÇ£¬ËäÈ»ÎÒÓÃXML¶ø²»ÊÇXMLListCollection/ArrayCollection×÷ΪTreeµÄÊý¾ÝÔ´£¬µ«¶ÔXMLµÄ¸üÐÂÒÀÈ»»áÔÚTreeÖз´Ó³³öÀ´——ÕâËÆºõºÍFlexµÄÎĵµÓгåÍ»£¬ÏÂÃæÊÇÒýÓÃFlexÎĵµµÄÒ»¶ÎÄÚÈÝ£º
Raw objects are often not sufficient if you have data that changes, bec ......

ÿÌìѧһµãFlex£¨1£©£ºDataGrid×é¼þ·ÖÒ³

    ÓÐÒ»¶Îʱ¼äûÓнӴ¥flex £¬Óе㲻Ôõ»áÓÃflex¡£»¹ºÃ×î½üŪÁËһϷÖÒ³µÄ¶«Î÷£¬¶Ôxml½øÐзÖÒ³»¹ÊÇͦ¹ÜÓ᣽èÓÃ֮ǰ·â×°ºÃµÄÀà¾ÓÈ»½â¾öºÜ¾Ã֮ǰµÄÎÊÌâ¡£¶ÔDataGrid µÄ×é¼þ·ÖÒ³£¬¿ÉÒÔͨ¹ý¶ÔXML½øÐÐһЩ´¦Àí£¬¿´ÆðÀ´ÕæµÄ·ÖÒ³ÁË¡£Êµ¼ÊÉÏÖ»ÊÇÒ»ÖÖ´í¾õ¡£
Ê×ÏÈÏÈ×¼±¸Ò»¸öÊý¾ÝÔ´XML¡£´ó¸ÅÒÔÒ»¸öÔ±¹¤×÷ÐÕÃû ÄêÁäºÍÐ ......

flexͼ±í½¥±äЧ¹ûʾÀý

<?xml version="1.0"?>
<!-- charts/GradientFills.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<!--[CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var expenses:ArrayCollection=new Arra ......

flexͼ±íÊý¾Ý¶¯Ì¬¸üÐÂЧ¹ûʾÀý

<?xml version="1.0"?>
<!-- charts/BasicSeriesSlideEffect.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<!--[CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var expenses1:ArrayCollectio ......

Flex Netbeans ¿ª·¢»·¾³»·¾³´î½¨

1.ÏÂÔØ°²×°netbeans6£¨Îҵİ汾ÊÇ6.7.1£©
2.ÏÂÔØFlex Sdk 3 £¬½«Æä½âѹµ½Ö¸¶¨µÄÒ»¸öĿ¼¡£http://www.adobe.com/cfusion/search/index.cfm?loc=en_us&term=flex+sdk&siteSection=cfusion%3Atdrc
3.ÏÂÔØnetbeansµÄflex²å¼þ http://sourceforge.net/projects/flexbean/files/
4.netbeansÅäÖÃFlex²å¼þ£¬ÅäÖÃ³É ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ