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

Flex no.2

--------------ex2_01_solution  ѡȡʱ¼ä-----------------------
 ...
   private function dateChangeHandler():void
   {
    // The Alert.show() message displays a static string plus the selected date in the startDate control
    Alert.show('You have selected ' + startDate.selectedDate.toDateString());
   }
... 
 <mx:DateChooser id="startDate"
     x="34" y="94" 
     showToday="true" 
     change="dateChangeHandler()"/>
--------------ex2_2_solution  ѡȡʱ¼ä-----------------------CalendarLayoutChangeEvent
protected function dateChangeHandler(event:CalendarLayoutChangeEvent):void
{
    if ((event.target.id == "endDate") && (startDate.selectedDate >  endDate.selectedDate))
    {
     Alert.show("Start date must be scheduled before end date.");
    }
}
....
 <mx:DateChooser id="startDate"
     x="34" y="94" 
     showToday="true" 
     change="dateChangeHandler(event)"/>
--------------ex2_3_solution  ѡȡʱ¼ä-----------------------addEventListener
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/halo"
      minWidth="1024" minHeight="768"
      creationComplete="initApp()">
...
   private function initApp():void
   {
    // Add the event listener using ActionScript instead of inline in the DateChooser instances
    startDate.addEventListener(CalendarLayoutChange


Ïà¹ØÎĵµ£º

flex ÖÆ×÷µÄ¼òµ¥¼ÆËãÆ÷

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal">
    <mx:Panel width="382" height="277" layout="absolute">
    ......

Flex Event×ܽá

<!-- -->
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;
mso-font-charset:2;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:0 268435456 0 0 -2147483648 0;}
@font-face
{font-family:ËÎÌå;
panose-1:2 ......

ÀûÓÃVC2008µÄ²å¼þÈ¥¿ª·¢FlexºÍRuby

tofino  http://www.ensemble.com/products/tofino.html
Ensemble Tofino for Visual Studio is a plugin that enables .NET
developers to create Flex front ends for their applications in the same
IDE that they normally use. Instead of using a separate text or XML
editor and manually invoking the c ......

flex ÖÐGMLת»»

package org.openscales.core.format
{
 import flash.utils.getQualifiedClassName;
 import flash.xml.XMLNode;
 import org.openscales.core.Util;
 import org.openscales.core.feature.Feature;
 import org.openscales.core.geometry.Collection;
 import org.openscales.core. ......

flex+java

1.ÎÒµÄÅäÖû·¾³Îª:
  flexBuilder3,LCDS251,MyEclipse 5.5.1
GA+
2.°²×°lcds2.5.1£¬´ò¿ªÄ¿Â¼£¬ÀïÃæÓÐÒ»¸öflex
.war
3.¹Ø±Õtomcat(Èç¹û´ò¿ªÔڵϰ)
4.½«flex
.war¿½ÈëtomcatµÄwebappsĿ¼
5.ÖØÆôtomcat,¿ÉÒÔ¿´µ½webappsÀï¶àÁËÒ»¸öĿ¼flex
£¬Õâ±ãÊÇÎÒÃÇÒªµÄ¶«Î÷
6.¿ÉÒÔ½«flex
.warɾ³ý
7.½«flex
Îļ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ