Recent Articles
AS3 OSMF Compiling Errors
August 25, 2011No Comments
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
How to Compare Two Dates in AS3
February 10, 20111 Comment
How to install Adobe Air applications on Android Emulator
January 30, 20112 Comments
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
HTML5 Basic Semantic Structure
December 30, 2010No Comments
This is a basic semantic structure of HTML5. HTML5 HTML5 CSS
Reset a combo box AS3
December 28, 2010No Comments
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:
Flash Convert Military Time To Standard Time AS3
October 25, 2010No Comments
Here is a code snippet to show you how to get Standard Time and Military Time in ActionScript 3.
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 [...]
AS3 Convert SECONDS TO HOURS, MINUTES, SECONDS
October 19, 2010No Comments
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.
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 [...]
