Monthly Archives: April 2009

  • 禮物

    Posted on April 22, 2009 by in Blog, Feelings, Life, Personal

    今日終於都買左GIGI 隻新CD 囉~~~之前都唔得閒去買..~~又有排聽囉要  

    No Comments. Continue Reading...
  • Multiline TabNavigator #2

    Posted on April 20, 2009 by in ActionScript, Blog, Flex, Flex Note

    MultiLineTab.as package controls { import flash.display.DisplayObject; import flash.text.TextLineMetrics; import mx.controls.tabBarClasses.Tab; import mx.core.IFlexDisplayObject; import mx.core.UITextField; import mx.core.mx_internal; use namespace mx_internal; public class MultiLineTab extends Tab { public function MultiLineTab() { super(); } override protected function createChildren():void { if (!textField) { textField = new UITextField(); textField.styleName = this; addChild(DisplayObject(textField)); } super.createChildren(); textField.multiline = true; textField.wordWrap = true; [...]

    6 Comments. Continue Reading...
  • Unit PNG Fix for IE 6

    Posted on April 20, 2009 by in Blog, Other Technologies

    If your boss still requires you to support IE 6 and your site has PNG images. Unit PNG Fix is a good choice to solve the IE PNG issue. I have tried with some other similar library but would cause some errors or they are not working.   http://labs.unitinteractive.com/unitpngfix.php

    No Comments. Continue Reading...
  • Corelib

    Posted on April 16, 2009 by in ActionScript, Blog, Flex, Flex Note

    CORELIB有一堆UTILITIES … 有陣時都幾好用~~ http://code.google.com/p/as3corelib/ http://weblogs.macromedia.com/as_libraries/docs/corelib/com/adobe/utils/package-detail.html

    No Comments. Continue Reading...
  • Flex Multiline TabNavigator

    Posted on April 16, 2009 by in ActionScript, Blog, Flex, Flex Note

    Currently, if your label text is too long. The text will be truncated as “…” in the tab. However, there are very few posts talking about how to build a multiline tavnavigator in flex. And the flex API does not provide a style and properties to do such styling. We have to create custom classes. [...]

    3 Comments. Continue Reading...
  • IE Disabled Input

    Posted on April 15, 2009 by in Blog, Other Technologies

    IE is very suck … You cannot change the color of the disabled input. The color remains grey all the time while it is possible to do so in Safari and Firefox. I found a solution from the web which can pretend a disabled input, setting the input as onfocus=”this.blur();” onselectstart=”event.returnValue=false;” rather than disabled=”disabled” It [...]

    2 Comments. Continue Reading...
  • 生意難做..

    Posted on April 14, 2009 by in Blog, Life, Personal

    之前MANHATTAN寄左Statement 黎話要收年費…諗住打去CUT CARD個陣(因為我有兩張渣打啦本身…) .. 佢第一次話請稍等..要查返我年費既情況.. 根住等完之後話我係特選客戶…有年費優惠..50% 年費+送18000分..(5000蚊先換到20蚊M記COUPON… 年貴要216蚊..) 我橫定都有兩張..CUT 一張都冇咩所謂.. 就話想CUT CARD 點知話再等下再睇下有冇其他優惠.. 等完之後話因為我係特選客戶..所以唔希望我CUT CARD..就咁就可以再WAIVE多一年… 無言…

    No Comments. Continue Reading...
  • ActionScript 2 External Interface

    Posted on April 8, 2009 by in ActionScript, Blog, Flash

    前幾日打算寫個flash button 點知office得flash 8, 要用actionscript 2 … 真係幾挑戰..因為自己未用過8 + as 2 當初諗住好似好簡單既野.. 用external interface call js 點知攪左好耐都唔得.. 最後搵到個site 先幫到我.. 要將 ExternalInterface.call(); 改做 flash.external.ExternalInterface.call(); 先用到.. 但係我真係唔明 =.=  唔通佢有兩個api 都係叫 ExternalInterface ?!  算啦…應該都唔會點用as 2 架啦.. Reference: http://www.psyked.co.uk/actionscript/externalinterface-not-working-in-firefox.htm

    No Comments. Continue Reading...