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
Ïà¹ØÎĵµ£º
1. ¿ª·¢¹¤¾ß £º MyEclipse5.5, FlexBuilder3, Tomcat6.
2. ¿ª·¢¹ý³Ì £º
µÚÒ»²½ £º ÏÂÔØBlazeDS, µØÖ·£ºhttp://opensource.adobe.com/wiki/display/blazeds/Release+Builds, ½âѹËõ¡£
µÚ¶þ²½ £º ÔÚMyEclipseÖÐн¨WEB¹¤³Ì£¬µ¼ÈëÒÀÀµ¿â£º
  ......
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Àïà ......
ΪÁËÔÚÓ¦ÓóÌÐòÖÐʹÓÃÊý¾Ý£¬Adobe Flex °üÀ¨ÁËÓëHTTP servers£¬web services »òremoteobject services
£¨Java objects£©½øÐн»»¥µÄ×é¼þ£¬ÕâЩ×é¼þ±»³ÆÖ®ÎªÔ¶³Ì¹ý³Ìµ÷Óã¨RPC£©·þÎñ×é¼þ¡£
Óë Adobe ColdFusion£¬PHP »òÀàËÆµÄ·þÎñÆ÷¼¼Êõ²»Í¬£¬Flex Ó¦ÓóÌÐò²¢²»Ö±½ÓÁ¬½ÓÊý¾Ý
¿â¡£¾Ù ......
.treeStyte{
selectionColor: #417597;
/* È¥µôĬÈÏͼ±ê */
folderClosedIcon: ClassReference(null);
folderOpenIcon: ClassReference(null);
&nbs ......
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" >
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
private function onSuccess(evt:Re ......