Create a new Project. Make sure the Components window is open.  If not, open it using Window->Components. Drag component from the Components window into the stage.  Resize it to the size you want.  In the next step, you can decide the scaling mode of the video, such as maintainAspectRatio or noScale. Open the Parameters window.  Use […]

I installed Windows 7 Beta on my Mac Book Pro and it is running quite well.  I am using VMWare Fusion 2 running on top on Mac OS X Leopard. Some issues: 1) It kept complaining that the Windows needs to be activated, but this actually it is a Beta version. 2) The Wireless network […]

Dashcode is another tool that comes with Apple iPhone SDK.  It allows you to create simple applications.  You can read an introduction to Apple’s Dashcode here.  In this tutorial, we will demonstrate interactivity and animation.  Familiarity with JavaScript and CSS is assumed. Our example will be a framework for a space-invader type game.  There will […]

Random Tech Posts
May 16, 2009

Running Mac OS X Leopard on Netbooks (Mini Laptops). Yes, I know it can be done but I wasn’t brave enough to try it.  Mac OS was built to handle some set of hardware, which Apple know for sure are on their Macs.   And when Mac OS is run on a machine where it’s not […]

General

Dell is trying to compete in the thin-notebook market.  The slick, silvery (also in onyx), aluminum shell Adamo looks more like a MacBook than a MacBook Air though.  Scoop over and take a look at the slick Adamo site, pictured below, at http://adamobydell.com/ It has 13.4 inch monitor, back-lit keyboard, 16.4 mm profile.  I have […]

iPhone likes CAF (Core Audio Format), but how do you create or convert to a CAF file? 1) Use the afconvert tool from Apple. This is a command line application that you need to run from the shell prompt. Example: Documentation: http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/afconvert.1.html To batch multiple files, I have found it useful to write a batch […]

This is a guide of how to use HTML 5 Canvas, as well as some JavaScript/css tricks to enable drawing on top of a web page. To see the result of this tutorial, open https://permadi.com/blog/?p=383. Canvas introduction is covered here and here. You need a browser that support Canvas such as Firefox 3 to run […]

March 17.  One of the four companies that went IPO this year is Changyou. Changyou.com, is the company behind Massive Multi-Playe Online Game Tian Long Ba Bu, made the biggest IPO offering so far in 2009.  Owned by parent company Sohu, Changyou was launched in 2006 and now has over one-million active users.     […]

This is a simple tutorial for a first iPhone application.  We are creating an iPhone application to display the word: Hello World.  It assumes that you have Xcode and the iPhone SDK installed (for steps to install Xcode and iPhone SDK, see this other guide). Step1 Start up Xcode. Step2 Create a new project (File->New […]

Until recently, I used to be able to right click on the Flash movie in a browser and select About Flash Player… menu, which will open the Adobe website showing what player version is installed.  Yeah, I know it says 9 already in the menu, but that’s not good enough.  Sometimes we developers need to […]