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

flexǶÈë×ÖÌå

Hey,buddy! How are you doing these days?All right,Let us straight to the point.
flexǶÈë×ÖÌåÓÐÁ½ÖÖ·½Ê½£º
·½Ê½1£¬Ö±½ÓǶÈ룺
   [Embed(mimeType='application/x-font', source='font/minicartoon.ttf', fontName='ÃÔÄã¼ò¿¨Í¨')]
   private var mnCartonFont:Class;
   ¸Ã·½Ê½²»¶à˵ÁË¡£
·½Ê½2£¬½«×ÖÌå´ò°ü³Éswf£¬È»ºóÔËÐмÓÔØ£º
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal" initialize="init()">
    <mx:Script>
        <![CDATA[
         import mx.core.UIComponent;
         
   private var tf:TextField;
   private var fontLoader:Loader;
   private var swfUrl:String = "font/MiniCartoonFont.swf";
   private var allFonts:Array = new Array();
   
   //ÔËÐмÓÔØ         
   private function init():void {
    fontLoader = new Loader();
    fontLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,loadCompleteHander);
    fontLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,loadFailHandler);
    var re:URLRequest = new URLRequest(swfUrl);
    fontLoader.load(re);
   }
   
   private function loadCompleteHander(event:Event):void {
    var loaderInfo:LoaderInfo = event.target as LoaderInfo;
    if (loaderInfo && loaderInfo.contentType == "application/x-shockwave-flash"){
     var className:String = getFilename(loaderInfo.url);
     var font:Class = loaderInfo.applicationDomain.getDefinition(className) a


Ïà¹ØÎĵµ£º

flex chart µÄÏà¹ØÊôÐÔ×÷ÓÃ


1.       chart£º×ÜÌå¿ØÖÆ
2.      
series£º¶¨ÒåʲôÑùµÄÊý¾ÝÀ´Õ¹Ê¾£¬x,yÖá·Ö±ðÏÔʾʲôÊý¾Ý¡£ËüÊǰüº¬ÏàÓ¦µÄseriesItemµÄArray¡£SeriesItem·â×°Á˼«Öµ
µã£¬Ìî³ä·½Ê½£¬xyÊý¾ÝµÈ¡£
3.       series ÖÐdisplayNameÊôÐÔ¿ ......

ÍøÒ³Ïòflex´«²ÎÊý·½·¨¼°Òªµã

ÍøÉÏÄܲ鵽ºÜ¶àÀàËÆ×ÊÁÏ£¬µ«ÍêÕûÐÔ²»¸Ò¹§Î¬¡£ÒÔÏÂÊǽâ¾ö·½°¸¼°Òªµã£º
·½·¨Ò»£º
ͨ¹ýurlµÄ·½Ê½Ïòflex´«²ÎÊý
µÚ1²½£ºÔÚÍøÒ³ÖÐÉèÖÃÒ»¸öÁ´½Ó£¬Èç <a
href="test.jsp?p1=test1&p2=test2">²âÊÔÁ´½ÓÒ»</a>£¬ÆäÖÐtest.jspǶÈëÁË
flash
µÚ2²½£º»ñÈ¡²ÎÊý
var params:Object
=URLUtil.parseUrlPara ......

ÀûÓÃFlexÕûºÏMicrostrategy¿ª·¢±¨±í

×î½ü½Ó´¥Á˺ܶණÎ÷£¬²»Í£µÄÅä»·¾³£¬Ã¿´Î°æ±¾ÎÊÌâ¶¼µÃÕÛÌÚÒ»·¬¡£
MicrostrategyÌṩÁËÒ»¸öFlex²å¼þ£¬ÓÃÀ´¿ª·¢ÏÔʾ±¨±íÊý¾ÝµÄFlashÄ£°å¡£
ÀûÓÃflex¿ª·¢¼òµ¥±¨±í¹ý³Ì£º
1.°²×°£ºMicrostrategy8.1
2.°²×°Flex Builder 2.2¡£
3.ÔÚFlex BuilderÖа²×°visualization builder²å¼þ
   ·½·¨£º½«\Microstrategy\SDK\t ......

FlexÖÐÈçºÎͨ¹ýiconÑùʽ´ÓSWFÖÐÖ¸¶¨Ò»¸öButtonµÄÀý×Ó

½ÓÏÂÀ´µÄÀý×ÓÑÝʾÁËFlexÖÐÈçºÎͨ¹ýiconÑùʽ´ÓSWFÖÐÖ¸¶¨Ò»¸öButton¡£
ÈÃÎÒÃÇÏÈÀ´¿´Ò»ÏÂDemo£¨¿ÉÒÔÓÒ¼üView Source»òµã»÷ÕâÀï²ì¿´Ô´´úÂ룩£º
ÏÂÃæÊÇÍêÕû´úÂë(»òµã»÷ÕâÀï²ì¿´)£º
Download: main.mxml<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
  ......

flex ǰ̨µ¼³öExcel

/**=========main.mxml=========*/
/* µ¼³öexcel */
private function exp():void{
if(dgEnterprise.dataProvider==null){
Alert.show("Êý¾ÝΪ¿Õ£¬ÎÞ·¨µ¼³öexcel","ÓÑÇéÌáʾ");
}else{
ExportExccel.loadDGInExcel(dgEnterprise,"/ssfxSystem/excelexport.jsp?tableName=ÆóÒµÐÅÏ¢");
}
}
/**===== ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ