易截截图软件、单文件、免安装、纯绿色、仅160KB

flex时序图示例

<?xml version="1.0" encoding="utf-8"?>
<!-- Simple example to demonstrate the DateTimeAxis class. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>

import mx.collections.ArrayCollection;
import mx.charts.chartClasses.IAxis;
import mx.logging.*;
import mx.logging.targets.*;


[Bindable]
public var stockDataAC:ArrayCollection = new ArrayCollection( [
{date: "2005,1,27", close: 41.71, next: 41.71},
{date: "2005,2,28", close: 42.21, next: 42.71},
{date: "2005,3,29", close: 42.11, next: 43.71},
{date: "2005,4,1", close: 42.71, next: 44.71},
{date: "2005,5,2", close: 42.99, next: 45.71},
{date: "2005,6,3", close: 44, next: 47.71},
{date: "2005,6,27", close: 41.71, next: 41.71},
{date: "2005,7,28", close: 42.21, next: 42.71},
{date: "2005,8,29", close: 42.11, next: 43.71},
{date: "2005,10,1", close: 42.71, next: 44.71},
{date: "2005,11,2", close: 42.99, next: 45.71},
{date: "2005,12,3", close: 44, next: 47.71} ,
{date: "2006,1,27", close: 41.71, next: 41.71},
{date: "2006,2,28", close: 42.21, next: 42.71},
{date: "2006,3,29", close: 42.11, next: 43.71},
{date: "2006,4,1", close: 42.71, next: 44.71},
{date: "2006,5,2", close: 42.99, next: 45.71},
{date: "2006,6,3", close: 44, next: 47.71},
{date: "2006,6,27", close: 41.71, next: 41.71},


相关文档:

FLEX使用java连接数据库,生成tree树

最近几天,一直在研究flex,说句实在的,其中的苦恼不是一句话两句话能说清楚的.没有接触过啊!不过现在总算是把数据库连上了,做出了自己想要的东西.废话少说,现在呢,我就把我做的代码贴出来,给大家看看,多提宝贵意见.
我用的是jdbc的连接方式(hibernate的连接方式我看网上有,所以就不贴出来了)
1.flex代码
<?xml version ......

flex 加载gif图片

 使用到的as3gif,请到Google去下载
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal" xmlns:file="file.*" xmlns:commont="commont.*">
<mx:TitleWindow title="abc" id="ADwindow" width="400" height="283" >
< ......

flex 鼠标悬停离开 控制放大缩小 源码

 
<?xml version="1.0" encoding="utf-8"?>
<!-- Simple example to demonstrate the Zoom effect. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml
">
<mx:Style source="style/style.css"/>
    <mx:Scri ......

flex 日期处理工具类

 根据别人写了类,自己又增加了一部分,贴出来分享
 /*获得两个日期之差 */
public static function getDateDiff(startDate:Date, endDate:Date):int
{
var diff:Number = (Number(endDate) - Number(startDate))/(3600000*24);
return diff;
}
/* 获得现在日期 */
public static function getDate() ......

用flex如何显示数字时钟

 通过Flex中的Timer可是实现数字时钟的效果,其效果图如下:
实现的代码如下:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">

<mx:Script>
<!--[CDATA[

import mx.formatters.DateFormatt ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号