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

Flex Chart ¼¼ÇÉ ÒƳý¸¡Ë®Ó¡

Flex Chart ËäÈ»ÓÐÌṩÍêÕûµÄÊÔÓù¦ÄÜ
²»¹ý±àÒëÍê³ÉµÄͼ±í»á¼ÓÉÏˮӡ
 “Flex Data Visualization Trial”µÄ×ÖÑù¡£
¼ÈÈ»ÊÇ AS£¬ÄÇÊÂÇé¾Í¼òµ¥ÁË
Ö»ÒªÔÚ Flex Project 內×ÔÐмÓÉÏÒÔÏ Class£º
package
mx.charts.chartClasses {
 public class ChartsLicenseHandler {
 }
}
È»ºóÔÚ MXML 內Ã÷È·ÒýÓøà Class£¬»òÊÇÓà Metadata Tag Ç¿ÆȱàÒë
ÕâÑù¾Í¿ÉÒÔÈ¥³ý¸¡Ë®Ó¡ÁË~!
<?xml version="1.0" encoding="utf-8"?>
<mx:Application 
xmlns:mx="http://www.adobe.com/2006/mxml
">
 <mx:Script>

   <![CDATA[
  
 [Frame(extraClass="mx.charts.chartClasses.ChartsLicenseHandler")]

  
 import mx.collections.ArrayCollection;
 
  
 [Bindable]

 private var expensesAC:ArrayCollection = new ArrayCollection( [
  {
Month: "Jan", Profit: -200, Expenses: 1500, Amount: 500 },
  {
Month: "Feb", Profit: 1000, Expenses: 200, Amount: 600 },
  { Month:
"Mar", Profit: 1500, Expenses: -500, Amount: 300 } ]);
 ]]>
 </mx:Script>
 

 <mx:SolidColor id="sc1" color="blue" alpha=".3" />
 <mx:SolidColor
id="sc2" color="red" alpha=".3" />
 <mx:SolidColor id="sc3"
color="green" alpha=".3" />
 
 <mx:Stroke id="s1"
color="blue" weight="1"/>
 <mx:Stroke id="s2" color="red"
weight="1"/>
 <mx:Stroke id="s3" color="green" weight="1"/>

 
 <mx:Panel title="PlotChart Control Example" height="100%"
width="100%">
  <mx:PlotChart id="plot" height="100%"
width="100%"
  


Ïà¹ØÎĵµ£º

Flex×é¼þÖ®Accordion

    FlexÀïÃæÓм¸¸ö×é¼þ»¹Ã»Óùý£¬×î½üÕýºÃûÊ£¬¾Í¶¼Ð´Ð´demoÀ´Ê¹ÓÃһϣ¬Õâ¸öÀý×ÓÊÇÔÚÒ»±¾½Ð¡¶Flex´óʦ֮·¡·µÄÊéÉÏ¿´µ½µÄ£¬Í¦ºÃµÄ£¬¾ö¶¨Ð´ÔÚÕâÀﱸÍü£¬·½±ãÒÔºó²éÔÄ¡£
    Accordionµ¼º½ÓеãÀàËÆÒ»¸öÕÛÒ³£¬ÔÚÿһҳ¶¼°üº¬Ò»¸ö×ÓÈÝÆ÷£¬Ã¿Ò»´ÎÖ»ÏÔʾһ¸öÒ³£¬Ò²¾ÍÊÇÒ»¸ö×ÓÈÝÆ÷¡£ÎÒÃÇÕâ¸öÀý× ......

FlexС¼¼ÇÉ£¨²»¶¨Ê±¸üУ©


½ñÌì±à³ÌÐòµÄʱºò£¬ÏëÔÚasÀïÃæ¸ù¾Ý×é¼þµÄidÀ´È¡µÃ×齨¶ÔÏó£¬ÓÉÓÚ×é¼þºÜ¶à£¨30¸ö£©£¬idÊÇtxt1~txt30£¬ËùÒÔ¾ÍÏñд¸öÑ­»·À´¶¯Ì¬È¡¶ÔÏó£¬ÀàËÆjsÀïÃægetElementByIdÕâ¸ö·½·¨£¬×îºó·¢ÏÖ¿ÉÒÔÕâÑùthis[id]À´È¡£¬ºÜ·½±ã£¬²»ÓÃŪһÛçÈßÓàµÄ´úÂëÁË^^.
......

Flex È«ÆÁÏÔʾ·½·¨

http://blog.sina.com.cn/s/blog_5fc933730100iigh.html     ²Î¿¼
1,ÐÞ¸Ähtml-templateϵÄindex.template.htmlÎļþ…Ôö¼ÓËÄÐÐ
  1<!-- saved from url=(0014)about:internet -->  
  2<html lang="en">  
&n ......

flexÊý¾Ý°²È«ÐÔ

³öÓÚ°²È«ÐÔ¿¼ÂÇÂú×ãÒÔÏÂÌõ¼þÖ®Ò»Flash Player²ÅÄÜ·ÃÎÊÔ¶³ÌÊý¾Ý£º
Ò»£ºÓ¦ÓóÌÐòËù±àÒëµÄswfÎļþÓëÔ¶³ÌÊý¾ÝÔ´ÔÚͬһ¸öÓòÖÐ
¶þ£ºÊ¹ÓôúÀí£¨Proxy£©£¬ÇÒswfÎļþºÍ´úÀíÔÚÏàͬµÄ·þÎñÆ÷ÉÏ¡£»òÕßʹÓÃweb½Å±¾ÓïÑÔÈçJSP£¬PHP£¬ASP´´½¨¼òµ¥µÄÊý¾Ý´úÀí
Èý£º°²×°crossdomain.xmlÎļþλÓÚÊý¾ÝÔ´ËÞÖ÷µÄweb·þÎñÆ÷ÉÏ ......

FlexʹÓÃActionScript

Ò»ÊÇ»­ÃæmxmlÖÐÖ±½ÓǶÈ룬ºÜÏñjsµÄʹÓ÷½Ê½
Èç
<mx:Script>
<![CDATA[
        public function showTxt():void
        {
           mytxt.text="Hello Flex baby!"
        }
]]>
< ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ