ActionScript3 Category

Tour de Flex update to Version 1.2!

In: ActionScript3, Air, Flex

今天早上剛剛打開Tour de Flex,就發現Tour de Flex有更新啦!更新后的版本為1.2。 而且發現官方還添加了Web版本的Tour de Flex,Web版本上面不含有Air程序制作的例子。Web版本的地址為http://www.adobe.com/devnet/flex/tourdeflex/web/ 目前得到的消息是 新版本將要由Adobe Air Version 1.5以上支持。 Skin發生了一些改變。 一開始的Logo歡迎界面將會變成Help中Quick Start中類似的樣子,并在右上角增加了一個QuickStart按鈕。 有了最新的日文版本,將來會添加其他語言的版本,包括繁體和簡體。 在內容增加的基礎上,整個安裝文件將減小,得意于RSL … XD。 左邊的菜單將有些改變,原來Tree的形式包含一個下拉菜單,最新版本已經把下拉菜單移除。 目前評論與Adobe論壇同步。 對Eclipse的兼容性將繼續優化提高。 Tour de Flex is a desktop application for exploring Flex capabilities and resources, including the core Flex components, Adobe AIR, data integration, and a variety of third-party components, effects, skins, and more. Tour [...]

TIFFEncoder

In: ActionScript Library, ActionScript3, Flex

ActionScript 3 TIFF Encoder By Kevin Hoyt. More in ActionScript 3 TIFF Encoder in his blog. JPGEncoder & PNGEncoder in as3corelib.

現在使用html標簽越來越頻繁,但是對Database的負擔也會隨之增加。 那么我們能不能自定義rules呢? 下面舉個簡單的例子 比如一個 link(<a target=”_blank” href=”http://www.yahoo.com.tw”><u>奇摩</u></a>) 我們將會把它變成 [http://www.yahoo.com.tw||奇摩] 然后再在Database進行存儲。相比而言,63個字符轉化29個字符,2:1的比例。考慮到其他的html標簽,我們至少能省掉數據庫一半的空間比例。 有些人說,這樣的做法不是加重了服務器的處理么?不不不,現在RIA普遍程度越來越大,很多以前放在后端的處理,都會直接放在前端進行處理。畢竟Server端只有一個,而Client端可以無窮。因此,我們只是在Client端做文章。 在向服務器存儲時,在Client端做standard_html到rule_html的處理。 在從服務器讀取時,在Client端做rule_html到standard_html的顯示。    下面貼出Client端做rule_html到standard_html的顯示Code: private static var headStr:String = "["; private static var footStr:String = "]"; private static var centerStr:String = "||"; /** * Replace Html Link * @param Link Format * @return htmlStr * @author Alvin */ public static function replaceHtmlLink(htmlStr:String):String{ if(htmlStr == [...]

桌面背景布局 居中 平鋪 拉伸 DesktopBackgroundLayout LayoutManager.CENTER LayoutManager.TILE LayoutManager.STRETCH  重點是在 flash.display.Graphics beginBitmapFill(bitmap:BitmapData, matrix:Matrix = null, repeat:Boolean = true, smooth:Boolean = false):void 在matrix和repeat的應用上。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 //… backgroundUI.graphics.clear(); if(layoutManagerStr == "stretch") { bitmap = new [...]

差不多一年前 YouTube APIs and Tools team 發布了 YouTube Player API ,另人遺憾的是在對ActionScript2良好的支持上,卻對現在最流行的ActionScript3的支持并不友好,特別是對新手來說,處理AS3和AS2直接的交互和Youtube Player的控制會比較復雜。 TubeLoc 是 Ben Longoria 寫的一個AS2 YouTube Player API的AS3/Flex Proxy Library,你可以非常簡單容易的把Youtube Video加入到你的AS3/Adobe Flex/Adobe Air/AsWing工程當中,真正做到Nice Support! 支持目前最流行的AS3/Adobe Flex/Adobe Air/AsWing 包含了一個Flex Component(Movie.as)和一個基于Sprite的ActionScript3 Class(MovieSprite.as) 支持YouTube Chromeless Player 和 Full-Chrome Player 使用LocalConnection 具體請看: TubeLoc in Google Code TubeLoc in YouTube APIs and Tools 

On my way

2012 年五月
« 四    
 123456
78910111213
14151617181920
21222324252627
28293031  

Client & Partner

HSBC
ING
永丰银行
桐乡·振石大酒店
MODEKUU思齐之家

Aedis.Ju Ex-Blog

MXNA
9RIA
Creative Commons License
DropBox