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

flex toolTipÑùʽÉèÖÃ

ÐèÒª3¸öÎļþ¡£Ò»¸öÊÇÑùʽÀ࣬һ¸öÑùʽÎļþ£¬Ò»¸öÊÇmxmlÎļþ¡£
¡ñMyToolTip.as
package{
 import mx.core.UITextField;
 import mx.skins.halo.ToolTipBorder;
 import mx.controls.ToolTip;
 public class MyToolTip extends ToolTipBorder {
  
  
  override protected function updateDisplayList(unscaledWidth:Number,
   unscaledHeight:Number):void{
    
    var toolTip:ToolTip = (this.parent as ToolTip);
    var textField:UITextField = toolTip.getChildAt(1) as UITextField;
    textField.htmlText = textField.text;
    
    
    var calHeight:Number = textField.height;
    calHeight += textField.y*2;
    calHeight += textField.getStyle("paddingTop");
    calHeight += textField.getStyle("paddingBottom");
    
    
    var calWidth:Number = textField.textWidth;
    calWidth += textField.x*2;
    calWidth += textField.getStyle("paddingLeft");
    calWidth += textField.getStyle("paddingRight");
    
    super.updateDisplayList(calWidth, calHeight);
   }
 }
}
¡ñstyle.css
ToolTip{
    font-family:            verdana;
    font-size:              14px;
    color:                  #000000;
    background-color:       #FF00FF;
    background-alpha:       0.85;
    cornerRa


Ïà¹ØÎĵµ£º

flex PopMenu(demo)

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
     <mx:Script>
        <![CDATA[
       //µ¼Èë ......

Flex RadarChart À×´ïͼ


Flex RadarChart À×´ïͼ
ÍÆ¼ö½â¾ö·½°¸£º
²Î¿¼ÍøÕ¾
http://lab.kapit.fr/display/radarchart/Download
Èí¼þÐí¿ÉЭÒé¿ÉÒÔʹÓÃÉçÇøÃâ·Ñ°æ
±¾:http://lab.kapit.fr/display/Store/Free+License
ÏÂÔØ×îеÄRadarChartDemo-
Community-1.X.zip
ÏÂÔØ°üÀïRadarChartDemo-Community-1.5.2Óиö
Readme_Application.pdfÀïà ......

flex·ÖÒ³

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" layout="absolute" creationComplete="initApp()">
 <mx:Script>
  <![CDATA[
   public var pageRecordes:uint = 8;
   public var totalPages:ui ......

FlexÓëwebServices½»»¥´«µÝÊý¾Ý

    ΪÁËÔÚÓ¦ÓóÌÐòÖÐʹÓÃÊý¾Ý£¬Adobe Flex °üÀ¨ÁËÓëHTTP servers£¬web services »òremoteobject services
£¨Java objects£©½øÐн»»¥µÄ×é¼þ£¬ÕâЩ×é¼þ±»³ÆÖ®ÎªÔ¶³Ì¹ý³Ìµ÷Óã¨RPC£©·þÎñ×é¼þ¡£
    Óë Adobe ColdFusion£¬PHP »òÀàËÆµÄ·þÎñÆ÷¼¼Êõ²»Í¬£¬Flex Ó¦ÓóÌÐò²¢²»Ö±½ÓÁ¬½ÓÊý¾Ý
¿â¡£¾Ù ......

flex»ñµÃsession

--------web.xmlÎļþ
<listener>
        <listener-class>flex.messaging.HttpFlexSession</listener-class>
    </listener>
--------Java´úÂë
public class GetSeesion {
 /**
  * ÉèÖÃsession
  * */
 public ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ