Monday, December 15, 2008
BumpTop 3D Desktop
source:http://riku.me/2008/12/10/bumptop.html
Tuesday, December 9, 2008
hfcd Flex Compiler
1. 到 Y:\CyberlinkLive\fromHongYi 裡面有一個 folder "hfcd_3.0.0.477", copy 整個 folder 到 C:\Program Files\Adobe\Flex Builder 3\sdks.
2. 接著就到這位 Adobe 前員工的網頁: http://stopcoding.wordpress.com/2008/06/17/hellfire_compiler/, 依照 "Installation"的步驟即可(請從 "Now, we configure FB3 to use the RPC version of flex-compiler-oem.jar." 這行之後的步驟 1 開始).
3. 一切就緒之後, 請記得啟動 hfcd server, 就是在指令集裡面, 把目錄設到: C:\Program Files\Adobe\Flex Builder 3\sdks\hfcd_3.0.0.477\server\bin, 然後執行 hfcd .
例外處理
如果你跟我一樣在啟動 hfcd 時遇到 Error:could not find a JVM, 這個時候就要改 jvm.config 了...
這個檔案位於兩個地方:
1. C:\Program Files\Adobe\Flex Builder 3\sdks\hfcd_3.0.0.477\server\bin
2. C:\Program Files\Adobe\Flex Builder 3\sdks\hfcd_3.0.0.477\client\bin
把裡面的 java.home= 指到你的 Java 目錄. 我的例子的話 , 是這樣寫的:
java.home=D:\JDK
你也可以 copy 我那包 JDK, 它位於: Y:\CyberlinkLive\fromHongYi 裡面的一個 folder 叫 "JDK".
這樣應該就可以了~
Sunday, December 7, 2008
Wednesday, December 3, 2008
用Flash作 MultiTouch UI ?
we make use of flosc (Flash OSC), which is a small Java server that converts OSC into a TCP-based XML socket, which can be read easily by the XMLSocket class in Flash. If this doesn't make much sense to you, just remember that you need to run Flash OSC to make sure your applications can use the multi-touch events being pushed by the Computer Vision Engine
Tuesday, December 2, 2008
CoCoa Touch
http://www.insideria.com/2008/12/actionscript-to-cocoa---protot.html
Friday, November 28, 2008
Saturday, November 8, 2008
Fit Client
http://www.insideria.com/2008/11/silverlight-3-the-next-fit-cli.html
Wednesday, October 22, 2008
The Astonishing Tribe(TAT)-手機人機介面設計的魔法師
----
http://digital.pala88.com/the_astonishing_tribe
隨著手機螢幕從單色LCD螢幕一直進步至目前的全彩LCD螢幕,手機人機介面(編按:所謂人機介面簡單的說就是操作資訊科技相關產品時所看到 的畫面,如視窗畫面亦是人機介面的一種)也一直不斷地推層出新,從傳統以按鍵式的手機介面,一直到目前智慧型手機以單點或多點觸控的手機介面。不斷地更新 之中,也讓手機的使用者享受了不同的介面感受。其中比較出名的應該算是Apple iphone的多點觸控式人機介面(編按:所謂多點觸控是指可以用兩隻以上的手指在同一時間中用不同的方向操控介面,一般來說傳統的單點觸控介面只能用一 隻手指做一個方向的操作)。
Sunday, October 12, 2008
原來SWFObject 是google工程師寫的
*It is also the first embedding technique to work with google's crawler to allow your SWF files to be indexed correctly.
*is now the default in all of Adobe Creative Suite CS4.
難怪那麼利害
http://www.onflex.org/
Sunday, September 7, 2008
Flash UI in Game
Gaming industry might really need Flashers in the near future.
Wednesday, August 20, 2008
Tuesday, August 19, 2008
flex 3 裡有趣的資料轉型規則
Type conversions
有興趣的自己看,為什麼說有趣呢...主要是int與boolean部份
全都記起來後,寫程式會更加簡潔快速
1. boolean 轉 int
var myBoolean:Boolean = true;
var myUINT:uint = uint(myBoolean);
var myINT:int = int(myBoolean);
var myNum:Number = Number(myBoolean);
trace(myUINT, myINT, myNum); // 1 1 1
myBoolean = false;
myUINT = uint(myBoolean);
myINT = int(myBoolean);
myNum = Number(myBoolean);
trace(myUINT, myINT, myNum); // 0 0 0
非常有趣,也非常貼心的轉法,迎合false為0,true為1的預期心裡
2.The output from the example shows that, of the three numbers, only 0 returns a value of false:
Boolean(-1) is true
Boolean(0) is false
Boolean(1) is true
不同的是,這裡只有0才回傳false,負數一樣回傳1喔
3.Casting to Boolean from a String value returns false if the string is either null or an empty string (""). Otherwise, it returns true.
var str1:String; // Uninitialized string is null.
trace(Boolean(str1));// false
var str2:String = "";// empty string
trace(Boolean(str2));// false
var str3:String = " "; // white space only
trace(Boolean(str3));// true
有趣吧,Boolean類別會自動幫你判斷,如果是空字串或是null,自動傳回0,有值或是空白字元都是傳回1,如果空白字元也想傳回0,就要善用 Trim 方法了
廢話這麼多之後,為什麼說寫程式會更加簡潔呢?
//obj.val可能是我們從server端吃下來的資料,有時是空值null有時是空字串""
//用 if(obj.val.toString()=="" || obj.val.toString()==null) 這種寫法就落伍摟
//請看這句
if(Boolean(String(obj.var1)))
trace("there's something")
else
trace("there's nothing")
//接下來,引入在C#中特殊的if else寫法進來
trace(Boolean(obj.var1)?"there's something":"there's nothing";
還可以這樣用喔
var description:String = Boolean(obj.var1)?String(obj.var1):"please enter description"
也就是當obj.var1有值時,就塞給 description
為null時,就塞"please enter description" 這段文字給 description
就醬
Wednesday, August 13, 2008
Google APIs 實現 Google Suggestion 功能
(sample是用android手機就是了)
弄ria 有機會會用到 之後一些攔位可能user需要auto fill
Monday, August 11, 2008
Friday, August 8, 2008
Monday, August 4, 2008
Sony也來玩虛擬社群了!!!
索尼也進入虛擬社群的世界
是我們資訊落後沒看到而已嗎? 一直覺得日本3D很強但怎麼都沒走上網路...
很像線上版的模擬市民也像second life
好像要用ps3玩就是了...(不過有預感也會走入電腦端...)
http://www.jp.playstation.com/ps3/home/
http://gnn.gamer.com.tw/0/29680.html
http://game.sina.com.hk/cgi-bin/nw.cgi?action=view&d=2007-03-08&id=8598
Friday, August 1, 2008
Wednesday, July 30, 2008
Juking AIR 桌面點歌機
支援中文、日文、英文歌手/樂團的搜尋
有空玩玩吧,真的很棒
推薦 搜尋 katie manula 唱的很棒喔 :)
Monday, July 28, 2008
Sunday, July 27, 2008
openflux
http://code.google.com/p/openflux/
介紹
http://www.insideria.com/2008/06/getting-started-with-openflux.html
Saturday, July 26, 2008
Top 10 Concepts That Every Software Engineer Should Know
致於什麼時候應該清 cache, 也有一套標準程續: "Caching comes with a cost. Only some subsets of information can be stored in memory. The most common data pruning strategy is to evict items that are least recently used (LRU). The prunning needs to be efficient, not to slow down the application."
看來我們的方向是對的, 只是可能沒時間做到那麼細. 要做這麼細的話, 又要被質疑一堆ㄅ ~
眼睛看不到的功能, 似乎就不會被認為是一種功能. 通常這種功能只有內家心法高深的人才看得出來ㄅ. 不過話說回來, Client side 的功夫, 實在博大精深阿~
http://www.readwriteweb.com/archives/top_10_concepts_that_every_software_engineer_should_know.php
Anyway, be the first to know~
Thursday, July 24, 2008
gettyimages 依心情播放照片,聲音,還有影片的網站
so nice :)
作這種工作一定很enjoy...
而且我們的技術能力也能作 ( 前提是mp3 & flv )
Wednesday, July 23, 2008
兩篇近期用到的東西
(之前放介紹影片時碰到)
http://www.moock.org/blog/archives/000279.html
convert xml tags to lowercase....
(之後support各家的tag時)
http://www.moock.org/blog/archives/000278.html
Tuesday, July 22, 2008
Application 如何呼叫module裡面的funcion
(moduloader.child as ChildModule1).method()
Sunday, July 20, 2008
Rich Internet application predictions from the experts
Rich Internet application predictions for 2008
http://blogs.zdnet.com/Stewart/?p=699
一些用途跟concept可以省思一下
Thursday, July 17, 2008
Wednesday, July 16, 2008
components
Other components include
the scrollbar, the combo box (or drop-down list), text fields, and text areas;
they represent the fundamental information interactions that have evolved over 30+ years of GUI computing.
...............
You may be surprised to discover that fewer than two dozen such components comprise the vast
majority of web-based experiences; these components form the basis of the language of each and
every Internet application, and as I say, are readily understood by an increasing majority of web users.
我也是這麼的覺得
創新ui不是不好
但是要能夠超越以上這些原有的優點
Tuesday, July 15, 2008
Monday, July 14, 2008
Friday, July 11, 2008
增加 compile速度
mx:Button icon=”@Embed(…)
You’ll be in a world of pain. The easiest solution is to move those embed calls into your style sheet and then compile your style sheet as a module.
Thursday, July 10, 2008
連猴子都會用的3D軟體,google sketchup
http://www.sketchup.com/
google sketchup官方下載網站
http://sketchup.google.com/download.html
Create cool stuff with Google SketchUp
http://tw.youtube.com/watch?v=5PLSlHbQ-bc
應該可以建lively的model吧...不能輸給猴子 晚點來玩玩看
或許有些idea
http://blog.yam.com/leo2016/article/16150134
一些不可能的現在都有可能了
介面的部份參考and OPEN MIND
Wednesday, July 9, 2008
Google Lively & Flex??
http://blog.pixnet.net/zusocfc/post/19756497
如果這謠言是真的
http://www.riapedia.com/2008/07/09/google_uses_flex_lively_ui
我們上層又八了自己一巴掌
Be a part of Flex development
解 3 隻以上的 bug 就有獎喔~
http://opensource.adobe.com/wiki/display/flexsdk/Flex+3+Contributions
或許以後去 Adobe 當 QA 也不錯.
至少不會每天都聽到有人說 Flash 是沒用的技術之類的話.
Tuesday, July 8, 2008
Running C and Python Code on The Web
http://www.toolness.com/wp/?p=52
聽說 FireFox 4 就會出.
到底該不該跟該集團提這件事呢?
算了, 就讓他死吧.
Monday, July 7, 2008
Drag處理
http://www.brucephillips.name/blog/index.cfm/2006/11/4/Dragging-Items-From-a-TileList-Control-To-A-Container
說明如下
假設container所設處理drop的事件為
dragDrop="DropIn(event)"
public function DropIn(event:DragEvent):void
{
有兩個取資料的方式
dragInitiator---->指的是你從那個container拖拉出來的 指派到該container上
var sourceList:* =event.dragInitiator ;
dragSource---->指的是單位資料量 就像平常push到ac或xml的單一node
var items:Array = event.dragSource.dataForFormat("items") as Array;
trace(sourceList.selectedItem.ItfileName);
trace(items[0].ItfileName);
...以下略
Sunday, July 6, 2008
Wednesday, July 2, 2008
good to have,must have
的一堆莫名其妙的功能,特效
經過老闆說出來都是must have
彷彿多了一個會跳動的icon
就會讓user迫不及待的想要用
google!!
老闆!多看看google吧!
Tuesday, July 1, 2008
Google 索引 Flash SWF 檔案
flash基本上不需要,google會自動搜尋他,但是有一些技術上限制
1.如果swf是藉由javascript load進的可能找不到
2.動態load進swf的內容,目前google會視為不同的檔案
3.多國語言還有一些問題,目前還在解決中
如果有不想被google search到的資料,盡量作成圖(不知道static text算不算)
Monday, June 30, 2008
Thursday, June 26, 2008
Wednesday, June 25, 2008
weakly referenced
Grant Skinner:"I would very strongly recommend getting in the habit of ALWAYS setting your listeners to be weakly referenced"
PS:經過Hongyi大大的開釋,在urlLoader中,用weak reference是會聽不到的
所以注意在UrlLoader中不要用
Tuesday, June 24, 2008
Monday, June 23, 2008
Sunday, June 22, 2008
viewStack的 creationPolicy
ViewStack 在默认情况下,所有子对象只有在第一次显示的时候才被实例化
加一个 creationPolicy="all" ,就可以让ViewStack建立的时候把所有子对象都实例化
Thursday, June 19, 2008
M群
M群, 大陸某公司和MSN合做開發的功能, 透過一個特定的聯絡人, 將訊息轉送給其它成員, 所以你只需在MSN中加入一個聯絡人, 就可以跟其它成員作溝通, 不用另外安裝其它軟體, 很方便
介紹:
http://tw.myblog.yahoo.com/dio-blog/article?mid=71&prev=88&next=63
Tuesday, June 17, 2008
Monday, June 16, 2008
Sunday, June 15, 2008
Flash and AIR Debugger
還沒try 特點可以對特定訊息指訂色彩
用法如下...
How to use
Import the classimport com.carlcalderon.arthropod.Debug;
Do a "log" trace by typingDebug.log("My log message");
Start Arthropod.
Publish your Flash site / AIR application and you will see the message "My log message" in Arthropods output field!
You may also add colors to your messages to keep it more structured by adding a color value as a second argument:
Debug.log("My log message",0x00FF00);
Thursday, June 12, 2008
週五看點設計跟ideas
http://leogogo.blogspot.com/2008/06/blog-post_3906.html
異曲同工之妙的網站:
Microsoft Office for mac的宣傳網站
http://www.simplifyyourwork2008.com/
介紹media server for HP
http://www.hp.com/united-states/psg/mediasmart/2007/index.html (MAX之前提供)
介紹nikon相機 整合產品跟手繪動畫 整個很流暢
http://imaging.nikon.com/products/imaging/technology/a_design/index.htm
很舒服的網站 讓你駕馭線條
http://www.rhythmoflines.co.uk/
日本的公司
http://con.tonc.biz/japanese/
加油吧~希望那天可以抓到類似的感覺....
Wednesday, June 11, 2008
JSON與flex
利用json交換資料
在flex中的流程
1. 取得json api 網址
ex. http://api.flickr.com/services/feeds/photos_public.gne?format=json&tags=flower&nojsoncallback=1
2. Load方法 用HTTPService或URLRequest取得網頁reponse即可
3. 下載裡面的lib and放入flex project中(com資料夾)
http://code.google.com/p/as3corelib/
import com.adobe.serialization.json.JSON;
4. 利用decode將回來string轉為object
var JsonObj:Object = (JSON.decode(rawData) as Object);
PS. 1. 最外層 " { "前不要有值 不然parse會過不了 如flickr的api可以加 "&nojsoncallback=1"
2. 另可轉array或xml不過此版本有問題轉不過去
5. 以平常取obj的方式存取值
ex: JsonObj.items[0].title
(items跟title都是回來的json data)
Tuesday, June 10, 2008
JSON serialization
http://code.google.com/p/as3corelib/
It consists of several basic utilities for MD5 hashing, JSON serialization, advanced string and date parsing, and more.
More:
http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries
The wrong solution is to enable background processes
這是從 dCAT 的 blog 剪下來的, 整串是:
“The wrong solution is to enable background processes… to allow an app to continue to run even after their user thinks they quit it.” Windows Mobile, we’re looking at you.
Why’s it bad? “First, battery life, it drains power. Second, performance, it sucks up cycles and makes other things feel sluggish.”
應該不只 mobile application 適用吧..
Monday, June 9, 2008
幾個視覺化的搜尋
http://www.viewzi.com/
一樣類似itune上面還有小圖示幫忙分類
http://beta.searchme.com/
http://addictomatic.com/
EXAMPLE
http://addictomatic.com/topic/plurk
Sunday, June 8, 2008
Flex using_code_behind
因為2個類似的module要用到大部分相同的as
但是外觀上差異很大
又不想把as copy paste,..
發現這個方法似乎可以解決我的問題
要注意一些把mxml的as搬到 class的問題
1.有用到的mxml component 要宣告為public
2.mxml有時會直接寫Click="handler()"
但在as class裡面event listener 一定要接收event,例如handleer(e:Event)
3.dataProvider 除非另外宣告一個getter setter 去設bind,
否則每次資料更新時要再設定一次
例如
getDataOK():void{
grid.dataProvider=a
}
參考看看
這樣的寫法可以把as 跟mxml抽離
as檔就可以被asDoc complie
http://www.adobe.com/devnet/flex/quickstart/building_components_using_code_behind/
資訊視覺化呈現site - Part1
http://www.taggalaxy.de/
http://labs.digg.com/
推這兩個
http://labs.digg.com/stack/ (把stack表達很清楚)
http://labs.digg.com/swarm/ (Network Kind)
yahoo!長大了~懂得弄些東西了
http://tw.buzz.yahoo.com/live_key.html


