顯示具有 Flex 標籤的文章。 顯示所有文章
顯示具有 Flex 標籤的文章。 顯示所有文章

2010年4月22日 星期四

ActionScript: Tween Engine

TweenLite, TweenMax
http://www.greensock.com/

2010年4月20日 星期二

最佳化 Flex, Flash

Flex性能優化常用手法總結
http://www.5uflash.com/Flex-AIR/Flexziliao/5577.html

Flash性能優化的一些細節
http://www.5uflash.com/flashjiaocheng/Flashyingyongkaifa/5576.html

2010年4月6日 星期二

Datagrid (AdvancedDataGrid), break line in case of very long string

<mx:Datagrid variableRowHeight="true"
<mx:DataGridColumn wordWrap="true"

2010年3月16日 星期二

Flex 隱藏物件的方法(小技巧)

http://alin0913.pixnet.net/blog/post/25717430

visible = false;
includeInLayout = false;

2010年3月10日 星期三

2010年3月2日 星期二

The easy Flash & AIR Debugger

簡易的 log class,類似 log4j
http://arthropod.stopp.se/index2.php/

2010年2月24日 星期三

Wine 小技法

想把 Flash Builder 4 for windows 裝在 Linux 下面 
How to install Flash Builder on Linux


其中提到了 winetricks
http://wiki.winehq.org/winetricks


這程式可以選擇要裝什麼 win32 元件,像是 vc runtime, .net runtime
$ wget http://www.kegel.com/wine/winetricks
$ sh winetricks
 

2010年2月22日 星期一

幾種 Flex Data Binding 的方法

http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/

使用變數 Binding 到 Label/Text


[Bindable]
var str:String;


<s:Label id="clabel" text="Label"/>
<fx:Binding source="{labelText}" destination="clabel.text"/>
<mx:Text text="{labelText}"/>

2010年1月21日 星期四

Flex : Windows Bitmap Format Encoder Decoder AS3 Flex 4 SDK

Flex 不能直接讀 BMP/TIFF,需要用非官方元件

http://code.google.com/p/windowsbitmapdencoder/

Flex 4 (Gumbo) Skinning with States and Animation

其中的 "Red Alert" 滿有趣的,剛好用得到
View the Project in Action
Explore the Source Code

全文出處:
http://www.adambergman.com/2009/06/28/flex-4-gumbo-skinning-with-states-and-animation/

Flex 4 (Flash Builder 4): 使用 state 及 transitions

與 Flex 3 有些不同,筆記一下~


http://www.artima.com/articles/flex_4_states.html

    <s:states>
        <s:State name="InitState"/>
        <s:State name="ReadyState"/>
    </s:states>   
   
    <s:transitions>
        <s:Transition fromState="*" toState="ReadyState">
            <s:Sequence duration="2500">
                <s:Parallel>
                    <mx:Blur target="{this.gios_image}" blurXFrom="10" blurXTo="0" blurYFrom="10" blurYTo="0"/>
                    <mx:Resize target="{this.gios_image}" widthFrom="1" heightFrom="1" widthTo="290" heightTo="297"/>
                    <mx:Fade target="{this.gios_image}" alphaFrom="1" alphaTo="0"/>
                </s:Parallel>
               
            </s:Sequence>
        </s:Transition>
    </s:transitions>

2009年12月31日 星期四