My List

Showing posts with label flash. Show all posts
Showing posts with label flash. Show all posts

Friday, February 13, 2009

玉山 - 圖文版Flash

參考了蛙大(Frog)的遊記FrogFree,做了一個Flash Gallery Template,並且把這回爬玉山的照片遊記給放了上去,有興趣的進來看看囉!:p
點此進入FxJade 3952
相對應的Blog圖文版為:玉山(上)玉山(下)


Friday, November 30, 2007

Elastic Tag Maps

Tag cloud是最常用來表示一個resource來源的tags出現頻率,但它並不能呈現該resource所隱含的terms的結構,也就是它忽略了tags彼此間的關係(relation),最直覺改進tag cloud這種缺點的作法或許是秀出指定的tag的同時也將與該tag相關的tags一併連結秀出來,如此該tags相關性(經常可能被同時使用)就顯而易見,對使用者而言,該resource的結構也就不言而喻了。

想說去找看看這個idea有沒有人做了(在找之前其實就覺得這麼直覺的東西應該有人把它做出來了吧XD),果然.. Elastic Tag Maps用Flash實作了這個想法,當你滑鼠移到tag cloud上的某一個tag時,它會將與該tag相關的tags同時link起來秀了出來。此外,它也把tag's frequency的histogram畫了出來,相關的tags被點擊後,histogram會同時動態秀出對應的分佈。我在想,del.icio.us的tag prediction或許是用類似的概念做出來的吧~

不過,我覺得這個Elastic Tag Maps還可以進一步改進,譬如說,根據user的興趣在tags加上不同的顏色或明暗度,如該tag是不是最近常被使用的熱門tags,或者根據不同主題將tags作分群(clustering),又或者tags彼此間的相關程度等等。不過直覺跟我說這應該還是有人做過了XD。



Sunday, March 18, 2007

[ActionScript] 動態文字遮罩

myMovieClip .setMask ( maskMovieClip )

myMovieClip : The instance name of a movie clip to be masked.
maskMovieClip : The instance name of a movie clip to be a mask.

The setMask method allows multiple-frame movie clips with complex, multilayered content to act as masks. You can shut masks on and off at runtime. However, you can't use the same mask for multiple maskees (which is possible by using mask layers). If you have device fonts in a masked movie clip, they are drawn but not masked. You can't set a movie clip to be its own mask, for example mc.setMask(mc) .

From: http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary566.html


Friday, February 09, 2007

影響Flash效能的因素

1. setInterval 用以 10 的倍數會比較準一些,
當然最準還是使用 timeline 的方式

2. getTimer 很耗CPU效能, 儘量少用以免影響效能

3. 在處理 Movie clip 特效上,
簡單的用 timeline 方式來作, 複雜的使用 ActionScript來做會較佳

4. System.useCodePage 需放在第一個frame, 不然不保證正常執行,
基本上 flash player 運作都還是會把各種編碼轉成 unicode 來運作

5. 善用 var 定義變數, 未定義的變數會變成 global 變數,
用 var 建立的變數才有機會放入 register 讓效能加快

6. 變數名稱短可以增快效能

7. 每一個 Movie 不要超過 300 個 textfield,
不然速度會明顯變慢
(p.s. 一個 10*10 的 Datagrid 就有 100 個 textfield)