Flex DateFiledÈÕÆÚ·¶Î§
¿ªÊ¼ÈÕÆÚ Óë ½áÊøÈÕÆڵķ¶Î§Ñ¡Ôñ
Á½Õ߶¼²»ÄÜ´óÓÚ½ñÌ죬¿ªÊ¼ÈÕÆÚ²»ÄÜ´óÓÚ½áÊøÈÕÆÚ
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" backgroundGradientColors="[#ffffff, #ffffff]">
<mx:Script>
<!--[CDATA[
import mx.controls.DateField;
[Bindable]
private var today:Date = new Date(new Date().setHours(0,0,0,0));
[Bindable]
private var start:Date = today;
[Bindable]
private var end:Date = start;
//=======================================
//Event Handler
//=======================================
/*DateChange*/
private function onDateChangeHandler(event:Event):void
{
//var currentDF:DateField = DateField(event.currentTarget);
if(startDF.text == "")
{
startDF.selectedDate = start;
}
else
{
start = startDF.selectedDate;
}
if(endDF.text == "")
{
endDF.selectedDate = this.end;
}
else
{
this.end = endD
Ïà¹ØÎĵµ£º
ÍøÂç×´¿öÊÇ»¥ÁªÍø·¢Õ¹ÓëÈí¼þ·¢Õ¹µÄÒ»¸öºÜ´óµÄÆ¿¾±£¬Èç¹ûÄÄÌì·ÃÎÊÍøÉÏ×ÊÔ´ÄÜÏó·ÃÎʱ¾µØÓ²ÅÌ£¬»òÕßÄÜÏó·ÃÎÊÄÚ´æÄÇÑù¿ì£¬ÄÇÑùÔÛÃǵļÆËã»úÒÔºóÖ»ÐèÒªÊäÈëÊä³öÉ豸ÒÔ¼°ÍøÂçÉ豸¾Í¿ÉÒÔÁË£¬¹þ¹þ£¬ÕâÖ»ÊÇÒ»¸öÃÀºÃµÄÔ¸Íû¡£
FlexÓ¦ÓÃÔÚWeb¿ª·¢ÉÏ£¬±ÜÃâ²»ÁËÍøÂçÎÊÌ⣠......
µÚÒ»ÖÖ£¬Ê¹ÓÃ{}°ó¶¨
<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
i ......
MyEclipse
FlexµÄÅäÖÃÖ®³õÎÒÃÇ¿´¿´ÔµÓÉ£ºÒ»¿ªÊ¼Ñ§Ï°Ê¹ÓÃFlexµÄʱºò,ÎÒÊÇÓõĵ¥¶ÀµÄFlexBuilder3,×öЩ´¿FlexµÄÓ¦ÓóÌÐò»¹¿ÉÒÔ.µ«ÊÇÈç¹ûÒª
ºÍJava½áºÏÔÚÒ»ÆðʹÓÃ,¼´ÀûÓÃFLEX³äµ±Ò»¸öÍêÕûµÄJ2EEϵͳµÄWEB²ãµÄ»°,ÄÇôµ¥¶ÀʹÓÃFlexBuilder3ºÍMYECLIPSEÊǺܲ»
·½±ãµÄ,´ó´óÓ°ÏìÁË¿ª·¢Ð§ÂÊ,Òò´Ë×öÁËÏÂMyEclipse+FlexµÄÅäÖÃ,´ïµ½Ö ......
Flex 4
betaÌṩÁ˽ӿÚIViewport£¨±»ËùÓпɹö¶¯×é¼þʵÏÖ£©ºÍ×é¼þScroller£¨ÎªÊÓ¿ÚÌí¼Ó¹ö¶¯Ìõ£¬ÊµÏÖ½»»¥Ê±µÄ¹¦Äܹ¦ÄÜ£©¡£ÕâÀïËùνÊÓ¿Ú£¨viewport£©£¬¼´¿É¹ö¶¯×é¼þ£¬ÒªÊµÏÖIViewport½Ó¿Ú¡£½»»¥Ê½¹ö¶¯£¬ÊÇËùÓÐͼÐÎÓû§½çÃ棨GUI£©¹¤¾ßµÄ»ù±¾ÌØÐÔÖ®Ò»¡£Flex
4 betaÖ®ËùÒÔ²ÉÓÃÕâÖÖ·½·¨£¬ÊÇΪÁ˱ÈFlex 3µÄʵÏÖ¸üÓÐЧÂÊ£¬¾ßÌåÇ ......