What was first: the chicken or the egg?

Here is a little experiment (that was hanging in my drafts for some months already) with static method, static code block, [Mixin] and class constructor. Can you guess correct order of trace()s dispatched by using the following Item class? Notice [Mixin] will only be understood and init() called with flex application.

Read the rest of this entry »

Quick Tip: Update Debug Token on Playbook

After a few weeks I got back to projects for BlackBerry Playbook and I realized my debug token on device is no longer valid. It took me some tome to investigate what steps are necessary to update just the debug token (signing keys are still valid). It resulted in 2 commands. If you like working with command line rather than with Flash Builder with these kind of things, you may find following .bat script useful. The script creates and deploys a new debug token on device.

Read the rest of this entry »

Quick Tip: Installing AIR Runtime To Android Emulator

After I have installed Android SDK on a new machine, I have almost forgotten the steps necessary to run AIR application on Android emulator. There has been some changes within android sdk e.g. adb.exe is no longer located in “tools” dir but rather in “platform-tools”, to create a new emulator you can use SDKManager.exe… and to install AIR runtime on Android emulator, you can take .apk file located in AIR SDK (airsdk/runtimes/air/android/emulator/Runtime.apk) and install it via…

Read the rest of this entry »

Get Adobe Flash playerPlugin by wpburn.com wordpress themes