Recent Articles

Just a quick note to myself. When adding the OSMF.swc to a project delete the OSMF.swc from the Flex SDK (using SDK 4.1) If adding the classes inside the project instead of using the swc you need to set Additional compiler arguemnts: -locale en_US -define CONFIG::FLASH_10_1 true -define CONFIG::LOGGING false -define CONFIG::DEBUG false

continue reading »

I’ve been searching for hours trying to figure out how to install Adobe Air applications on Android Emulator. I found a good simple article and would like to share. Check it out: Insall AIR on Android Emulator

continue reading »

This is a basic semantic structure of HTML5. HTML5 HTML5 CSS

continue reading »

You can set selectedIndex to 0 and it will just reset the combo box to the first selectable item in the list… However if you define the prompt property, then setting selectedIndex to zero won’t get you what you want. instead do this and it will be just like when you first started:

continue reading »

Here is a code snippet to show you how to get Standard Time and Military Time in ActionScript 3.

continue reading »

AS3 Random Boolean

October 24, 20101 Comment

Recently I built any application that needed a random Boolean. I used Math.random() which will give you a decimal number between 0 and 1. I then wrapped that with Math.round(), if the number is greater than .5 then the number will be 1 and everything else will be 0. In ActionScript 3 and probably previous [...]

continue reading »

Here is a little Flash code snippet to convert the seconds from your audio or video time display project into hours, minutes and remaining seconds (HH:MM:SS). The code is for ActionScript 3.0 but to make it combatable with ActionScript 2.0. Just change the uint data type to Number and it will work fine.

continue reading »

Recently I’ve been working on building a AS3 streaming video player and ran into an error with onBWDone and wanted to share my findings. I am streaming (RTMP) my video files from Amazon CloudFront which uses Adobe’s Flash Media Server to power its streaming distributions. You may have seen this error before: I will describe [...]

continue reading »