It was very hot today, I believe it's around 21° C. We took this oppurtunity to do was our car and clean the garage :) The garage was very dirty due to sticky dirt carried over from winter time.
We borrowed Pak Stef's pressure washer for washing our car and cleaning the garage. We are planning to buy one, because it proofs to be very useful when cleaning sticky dirt in our garage.
It's night time now, time to sleep :)
Saturday, June 28, 2008
Monday, June 2, 2008
Adobe Air - Keyboard Event in Fullscreen Mode
Recently, I get error when launching my custom movie browser. It says:
I get error message when trying to install the application. The error says:
Next problem I encounter is that my program does not allow me to trigger KeyboardEvent while I am in fullscreen mode. The KeyboardEvent is working fine if I am not in fullscreen mode. This reminds me of restriction I encountered in Flash AS 3.0. It is very confusing, it still worked the last time I make changes to my application, which is about two months ago.
Then, after googling around, I find that Adobe changes the AIR API, I need to set display state to FULL_SCREEN_INTERACTIVE instead of FULL_SCREEN only to allow KeyboardEvent in fullscreen mode.
“This application requires a version of the Adobe Integrated Runtime (AIR) which is no longer supported. Please contact the application author”I go to Adobe site to download the latest AIR and also the latest AIR SDK for Flash. After I install everything, I open Flash and start generating the new AIR installer for my application.
I get error message when trying to install the application. The error says:
"The application could not be installed because the AIR file is damaged. Try obtaining a new AIR file from the publisher."Ehm ... very weird, I am the publisher and I just generate the installer file. I try generating new installer several times but no luck. I uninstall AIR and reinstall it again, and it works !!! Weird ...
Next problem I encounter is that my program does not allow me to trigger KeyboardEvent while I am in fullscreen mode. The KeyboardEvent is working fine if I am not in fullscreen mode. This reminds me of restriction I encountered in Flash AS 3.0. It is very confusing, it still worked the last time I make changes to my application, which is about two months ago.
Then, after googling around, I find that Adobe changes the AIR API, I need to set display state to FULL_SCREEN_INTERACTIVE instead of FULL_SCREEN only to allow KeyboardEvent in fullscreen mode.
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;Two hours wasted trying to solve this problem :)
Hard Drive Failed
This last weekend was a bit crazy. I woke up Saturday finding that one of our server drive failed. This drive contained all photos and various Coniques projects, and I haven't had chance to perform backup in the last 6 months. It seems that there is power spiked the night before that caused the break power circuitry in the USB external enclosure.
I tried to read the drive by connecting it to my workstation through SATA cable. No luck. Windows still did not assign any drive letter to the drive. I opened Disk Management console from Control Panel and found that Windows successfully detected the hard drive. The drive status is healthy and online as well. However, I still have no luck accessing it. It seems that there is something wrong with the drive partition.
I then started googling around to find way for recovering partition and found a program by EaseUS, Data Recovery Wizard. I used it to perform search for lost data in the drive, the search took about 8 hours. The program successfully found all the files and we have to buy additional drive to dump all of the recovered data which took additional 20 hours.
Now, the drive is back online, and I start to perform backup right away. I will consider adding redundant drive that will mirror the main drive in the future.
I tried to read the drive by connecting it to my workstation through SATA cable. No luck. Windows still did not assign any drive letter to the drive. I opened Disk Management console from Control Panel and found that Windows successfully detected the hard drive. The drive status is healthy and online as well. However, I still have no luck accessing it. It seems that there is something wrong with the drive partition.
I then started googling around to find way for recovering partition and found a program by EaseUS, Data Recovery Wizard. I used it to perform search for lost data in the drive, the search took about 8 hours. The program successfully found all the files and we have to buy additional drive to dump all of the recovered data which took additional 20 hours.
Now, the drive is back online, and I start to perform backup right away. I will consider adding redundant drive that will mirror the main drive in the future.