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" >
<mx:Image id="gifImg" width="221" height="92" creationComplete="init()"/>
<mx:Image id="gifImg2" width="224" height="101" creationComplete="init2()"/>
</mx:TitleWindow>
<mx:Script>
<!--[CDATA[
import org.bytearray.gif.player.GIFPlayer;
private var gifPlay:GIFPlayer=new GIFPlayer();
private var gifPlay2:GIFPlayer=new GIFPlayer();
private function init():void{
var req:URLRequest=new URLRequest("assets/logo.gif");
gifPlay.load(req);
gifImg.addChild(gifPlay);
}
private function init2():void{
var img:URLRequest=new URLRequest("assets/diego.gif");
gifPlay2.load(img);
gifImg2.addChild(gifPlay2);
}
]]-->
</mx:Script>
</mx:Application>
相关文档:
<?xml version="1.0"?>
<!-- Simple example to demonstrate the ProgressBar control. -->
<!--
如何使用Flex ProgressBar
MyShareBook.cn 翻译
-->
<mx:Applic ......
http://www.mvelopes.com/mvelopes/online_budget.php flex
做的分析软件
http://www.alex-uhlmann.de/flash/adobe/blog/distortionEffects/effectCube/
这玩意,Flex2的扭曲变形效果,呵呵,有可能你用得到flex中
http://webmessenger.yahoo.com/
yahoo的webmessenger
http://www.picnik.com/app
这个也不错
http: ......
Flex里面,DataGrid的column的width属性不接受百分比,只接受一个具体的像素值,所以,如果想按照比例来设置列宽需要费些周折。Google了一下,有两种方法可以做到: 第一种方法,不要设置width为百分比,而设置为一个小数,所有列的小数值的和必须为1。 <mx:DataGrid width="100%" height="100%" ......
http://www.k-zone.cn/zblog/post/flex-compiler-parameter.html
下面的列表提供了mxmlc的一些可选参数:
属性
描述
accessible=true|false
是否具有可理解性
actionscript-file-encoding
设置文件编码
advanced | mxmlc -help advanced
检索mxmlc高级参数
allow-source-path-overlap=true|false
验证source-pat ......