Custom Search

Thursday, July 25, 2013

Adobe CS6

While Adobe has been pushing their Creative Cloud, I am one of the unfortunate ones stuck with CS4,CS5,CS5.5 and CS6 licenses.
Recently, an update from CC made my adobe media encoder which is installed in Flash Professional CS6 unable to encode f4v files. There are just too little information on troubleshooting AME CS6. Therefore, I am posting this. 
only works for CS4 and strangely enough, I found the shortcut to CS4 under the folder C:\Program Files\Common Files\Adobe\dynamiclink. 
Anyway, I had to uninstall and reinstall Flash Pro with Media Encoder inside. Still no luck!
After that I tried looking at the encoder and realised that it works for 5.1 level under video settings! This is probably due to the high resolution of the video which was 3072 x 768.

Monday, August 13, 2012

Using OpenSSL


WARNING: CAN’T OPEN CONFIG FILE: /USR/LOCAL/SSL/OPENSSL.CNF


In Command Prompt type the following before running the openssl command

set OPENSSL_CONF=c:\[PATH TO YOUR OPENSSL DIRECTORY]\bin\openssl.cfg

then whatever... The following was lifted from adobe:
http://help.adobe.com/en_US/as3/iphone/WS144092a96ffef7cc-371badff126abc17b1f-7fff.html


Convert an Apple developer certificate to a P12 file on Windows

To develop iPhone applications using Flash CS5, you must use a P12 certificate file. You generate this certificate based on the Apple iPhone developer certificate file you receive from Apple.
  1. Convert the developer certificate file you receive from Apple into a PEM certificate file. Run the following command-line statement from the OpenSSL bin directory:
    openssl x509 -in developer_identity.cer -inform DER -out developer_identity.pem -outform PEM
  2. If you are using the private key from the keychain on a Mac computer, convert it into a PEM key:
    openssl pkcs12 -nocerts -in mykey.p12 -out mykey.pem
  3. You can now generate a valid P12 file, based on the key and the PEM version of the iPhone developer certificate:
    openssl pkcs12 -export -inkey mykey.key -in developer_identity.pem -out iphone_dev.p12
    If you are using a key from the Mac OS keychain, use the PEM version you generated in the previous step. Otherwise, use the OpenSSL key you generated earlier (on Windows).

Thursday, January 19, 2012

《天與地》 片尾曲 《年少無知》

After watching this Hong Kong Drama, it shows how real dramas can be.
My ex-partner was a liar and planned his exit 6 months before he quit. He registered an Interactive Technology company (even the company write up was similar to mine) in 2010 under the name of his friend and cousin (based on his lies) and claimed that he was only a technology consultant to them while he was a partner and employee drawing a salary from my company.
In order to free himself of more time to do projects for his other company behind my back, he got his wife to fake a case of catching him cheating on her and giving him hell. Threatening to divorce him etc. His wedding was happily held in 2011. Photos of the projects he did for his cousin's company was on Facebook and some had his wife in it as well. With a big smile of course.
He claims that he was caught in-between kinship (his cousin) and his partner,me. Therefore he did not disclose anything to me. And that he was obliged to help his cousin. That ass should have just quit. Now he is just a liar, betrayer and his conscience will prick him one day. I don't have to do anything to him. May he wake up one day and realize that he has done me wrong.

《天與地》 片尾曲 《年少無知》

作曲:黃貫中
填詞:林若寧
編曲:黃貫中、劉志遠
歌曲監製:黃貫中
主唱:林保怡、陳豪、黃德斌

林︰年少多好 頑劣多好
Good to be young, Good to be wild
不甘安於封建制度裡 迷信上街真理會達到
Not contented with the feudal system, believing that the truth will be found on the streets
旗幟高舉 群眾聲討
Rally with banners, despite public condemnation
不惜犧牲一切去上訴 權貴的想法太俗套
Sacrifice everything to appeal/promote, good ideas are too conventional
只可惜生活是一堆挫折 只可惜生命是必須妥協
It's a pity that life is a string of setbacks, a pity that we need to compromise in life

陳︰年少多好 貧困多好
Good to be young, good to be poor
一蚊積蓄足以快樂到 廉價結他抒發我暴躁
When a cent can make you happy, and a cheap guitar can express your frustrations
財富得到 年歲不保
When fortune is gained, life has passed
捐輸不必講究有回報 人世間總會有異數
Don't need to expect anything when you give, there will always be surprises in life
只可惜生活是一聲發洩 只可惜生命是一聲抱歉 怕追到
Its a pity that life is a howl of frustrations, a pity that life is but a word sorry, when the time comes.
合︰如果 命運能選擇
If we can choose our fate
十字街口 你我踏出的每步更瀟灑
We can navigate our crossroads with more flair
如果 活著能坦白
If life can be lived with honesty
舊日所相信價值 不必接受時代的糟蹋
Old values will not succumb to anachronism.

黃︰年少多好 朋友多好
Good to be young, good to have friends
一番爭執不會有被告 遊戲競爭不會記入腦
no dispute without a defendant, rat race will not be remembered
年歲增長 無法修補
Grow older, no way to make amendments
青春的詩總會老 時間多恐怖
The young chief poet will grow old, time is a scary thing

合︰如果 命運能選擇
If we can choose our fate
十字街口 你我踏出的每步無用困惑
We can choose our paths at the crossroads without confusion
如果 活著能坦白
If life can be lived with honesty
舊日所相信價值 今天發現還未老
Old values, not too late to realize them today.
如果 命運能演習
If fate can be practiced
現實中不致接納 一生每步殘酷抉擇
Don't need to accept the reality of, the brutal choices of every step in life
留守 過去的想法
Remember the past experiences
我會否好像這樣 生於世上 無目的鞭撻
Will I be like this, living on this earth, in eternal torture.

Translation of lyrics done by JC. please give me your comments. thanks

Thursday, August 18, 2011

Winsock Error 11004

The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for.

When the socket client shows this error, one of the issues might be due to a duplicate computer name in the same network. Change the computer name and it should be ok.


Thursday, April 7, 2011

Solution to Contacts Appearing Offline on Windows Live Messenger 2011.

I experienced this problem when I had to urgently send small files to and from my partner. We were working on a website project where he did the design work and I did the PHP programming. Boy do I hate website programming. Simple layouts, arranging text, fonts, all the mundane stuff. I prefer C++ with all the socket programming, image processing, mathematical algorithms etc.
Anyway, I tried Step 1 and 2 below but it still didn't work. So step 3-5 is for the people who had the same unfortunate experience as me.
Good Luck!


  • 1
    Sign out and exit MSN 2011
  • 2
    Go to Control Panel >> Programs >> Programs and Features >> Choose Windows Live Essentials 2011 and click on Uninstall/Change, Finally in the popup window, choose Repair All Windows Live Programs.
  • 3
    Go to C:\Users\WINUSERNAME\AppData\Local\Microsoft . Delete the Windows Live Contacts folder (AppData is a hidden folder so be sure to change your folder settings)
  • 4
    Go to C:\Users\WINUSERNAME\ delete the Contacts folder
  • 5
    If after signing in the problem persists go to C:\Users\WINUSERNAME\AppData\Local\Microsoft\Messenger . Backup the entire folder yourmsnuser@hotmail.com and then proceed to delete it. If you have emoticons and display pictures you will then be able to restore them from the backup.
  • Tuesday, March 29, 2011

    Adobe Flash CS5 AS2 problem some characters not showing in Dynamic text box

    I am experiencing the same problem as below:

    Problem:
    if (day() == Saturday){
    tomorrow.text = "Sunday";
    }
    displays Suday instead of Sunday

    Solution:
    Try selecting the text field, the hit "character embedding" in the property inspector. Select basic Latin and Latin I

    Select selection tool ---> select the Text Field ---> Go to the Properties pannel ---> Anti-alias ---> Use Device Fonts

    1) Select the dynamic textbox that isn't showing up when your swf is published.
    2) In the Properties panel under Character, click the [Embed...] button
    3) Name your font symbol exactly the same name as the base font. If you're using Arial Bold, call it Arial. Any other name didn't work for me. (I don't know what happens if you need Arial and Arial Bold in the same file)
    4) Select the character ranges and enter any custom characters to include.
    5) Click the ActionScript tab at the top of the dialog & check "Export for ActionScript" - the Identifier should populate with your font name.
    6) In the Properties panel under Character, change the Family selection to your new custom font (it should appear near the top of the list as Fontname*

    Based on other suggestions in this thread, I turned off "selectable text" as an option. (Properties panel, small icon in the Character group, lower left hand corner). Text then displays OK in player - I did not make any other changes.



    Found these solutions online but haven't tried it yet. Will try soon.

    Friday, March 18, 2011

    Data Execution Prevention pop with Windows Explorer

    My Windows XP SP3 recently had a weird problem. Any video file that I click on in windows explorer triggered the Data Execution Prevention message keeps popping up and closing my windows explorer.
    I overlooked the option to turn OFF DEP when both options say Turn on DEP etc etc....
    Only on a desperate second look did I find out that the second option had the word "except"! argh!