Right mouse click menu example
February 12, 2010
Line Break
Author: Roelof (11 Articles) - Author Website
Roelof is a SAP Consultant specialized in Front-End development. In his spare free time he is either developing on the web, playing basketball, watching soccer, travelling or just being lazy. He is also the co-owner of Flex-Blog.com.
Ever wondered how to add your own right click menu item in the Context Menu of your Flex Application.
In this example I will show you step by step how to achieve this, with ofcourse a small demo application to show the result.
Read more
Easy Unix Time Function
February 10, 2010
Line Break
Author: Theo (4 Articles) - Author Website
Theo is a SAP Integration Specialist by day and a Webdeveloper / Web App Evangelist by night. He is the creator of "I Am Bored So I blog" and he is a member of the Board of the Dutch Flex Usergroup. With his quote "Never Give Up, Never Surrender" (Actually stolen from Galaxy Quest) he fights his way through the day.
Today I was in need of a function that would give me the current Unix Time. It might be possible that you don’t know what the Unix Time is exactly, check out this Wikipedia article.
In my need to get this time, I wrote the following quick and simple code.
Read more
Random number in Flex
February 10, 2010
Line Break
Author: Arjan (34 Articles) - Author Website
Arjan is a SAP Consultant specialized in ABAP and Front End development techniques like Web Dynpro, Adobe Interactive Forms, Flex and AIR. In his free time he likes to create examples for Flex-Blog and other applications using Flex, AIR and PHP. Other hobbies are movies and music. He is also the co-owner of Flex-Blog.com.
Every now and then you need to do something at random in your application (i.e. pick a random item from a collection). For that, you’re probably need some random number to decide which option to choose. Here is a simple example that shows you how to generate random numbers in Flex.
Read more
Using baseColor to Style Components in Flex 4
February 10, 2010
Line Break
Author: Arjan (34 Articles) - Author Website
Arjan is a SAP Consultant specialized in ABAP and Front End development techniques like Web Dynpro, Adobe Interactive Forms, Flex and AIR. In his free time he likes to create examples for Flex-Blog and other applications using Flex, AIR and PHP. Other hobbies are movies and music. He is also the co-owner of Flex-Blog.com.
Flex 3 was a great product, but to be fair….changing default application appearance was a pain in the ass. I’m not a designer by any means so I was always a bit frustrated when I was trying to do something different with the appearance. Luckily for me and all you programmers out there…Flex 4 offers a nice little solution to change the defaults a bit by setting only one attribute on your application or your components: baseColor.
Read more
List Directory with AIR in Flex 4
February 2, 2010
Line Break
Author: Arjan (34 Articles) - Author Website
Arjan is a SAP Consultant specialized in ABAP and Front End development techniques like Web Dynpro, Adobe Interactive Forms, Flex and AIR. In his free time he likes to create examples for Flex-Blog and other applications using Flex, AIR and PHP. Other hobbies are movies and music. He is also the co-owner of Flex-Blog.com.
As you probably know already, with AIR you have access to the local file system. The following example shows you how you can list the contents of a directory with AIR in Flex 4. Besides showing filenames, I also want to display the icon associated with the file.

