Month: May 2008

How popular is Flash Player – What Ben Forta has to say?

Moziall is claiming to set a world record during the Download Day 2008, but Ben Forta from Adobe posts out that they are already doing over 10 million downloads of Flash.

Potential Flash player Security Vulnerability

Malware hunters have spotted a previously unknown — and unpatched — Adobe Flash vulnerability being exploited in the wild…. read full story.

Adobe in response has issued an almost definitive statement suggesting that the reported vulnerability has already been patched.

Link Button – handles keyboard more gracefully

The default LinkButton that Flex provides does not have the following capabilities turned on:

1. Showing a Hand cursor when you hover on the LinkButton

2. Handling the Mouse Enter keys to fire a click event

I had a need where I needed these two capabilities all across the board and hence decided to make this as a component that I can use easily. I am uploading the source code as a PDF until I get to host a website where I would be able to upload source code.

Find more controls here

Direct access to hard disk in Flash Player 10

If you missed the announcement, Adobe is releases Flash Player 10 code named Astro. As i spent time to read through some of upcoming features there is one feature that I am very excited about. Since the day I started to work with Web Applications, I have been missing this one – You can now directly access the Hard disk to save files.

Now that you have done pinching yourself, believe it. In ActionScript 3.0, we had “FileReference” object that allowed you to read files from local hard drive. But, if you wanted to save the changes back to the hard-disk, you then needed to make a round-trip to the server. With Flash player 10, we get some new functions on FileReference that eliminates that need and simplifies the task. You can see the video.

One good thing is that there is no direct communication to local hard drive. All interactions (I/O) operations would need a manual intervention which keeps the local file system secure.

Flash player 10

Code named Astro, Flash Player 10 beta was released. Some of the key features

  • 3D effects
  • Custom filter and effects
  • Advanced Text Layouts
  • Enhanced Drawing APIs
  • Visual Performance Improvements
  • Direct access to local file system – read more

Release notes.

Moonlight – Silverlight for Linux

Miguel de Icaza published on his blog the first public release of Moonlight, which will support Silverlight 1.0 on Linux.

Moonlight is not a 1.0 release, it is a source code release for interested developers and contributors…

Icons for Flex – and these are free!!

“Silk” is a smooth, free icon set, containing over 700 16-by-16 pixel icons in strokably-soft PNG format. Containing a large variety of icons, you’re sure to find something that tickles your fancy. And all for a low low price of $0.00. You can’t say fairer than that…


Performance Benchmarks – C++

If you are a C++ developer, this benchmark release will interest you very much.

Custom Button – handles keyboard more gracefully

The default Button that Flex provides does not have the following capabilities turned on:

1. Showing a Hand cursor when you hover on the button

2. Handling the Mouse Enter keys to fire a click event

I had a need where I needed these two capabilities all across the board and hence decided to make this as a component that I can use easily. I am uploading the source code as a PDF until I get to host a website where I would be able to upload source code.

Find more controls here

Flex Ecosystem

As the name itself suggests, it is important for you to understand and define the Ecosystem that your Flex application should follow and work on. If you are working on a project that you want to continue to breathe and make sure that it does not falls short of any needs, it is your duty to setup the needed infrastructure that is supported by its own. In this article, I will recommend to you how to setup a Ecosystem for a Flex application.

For any Flex Application there following aspects are very crucial:

1. A Flex Application project

2. Build script

3. Debugging and profiling tools

4. Unit testing framework

A Flex Application Project

You may have a need to integrate your flex application into an existing application (J2EE or .NET) or you may be starting a fresh with-out a back-end. No matter how you choose to start, always make sure that you have a project setup independently as a Flex Application project. By doing so, you are setting up something that can exist on its own and that has big benefits. A few:

  • You can then integrate the application to a back-end of your choice and not needing to change anything on the client like JBoss, TomCat, IIS;
  • Setting up debuggers and profilers for the application again becomes an easy one;
  • If you have Java heavy back-ends, then again that makes it easier to keep the back-end and front-end code cleanly separated

Build Script

Using Flex builder’s Build and deployment is a nice to have option, but in an enterprise development environment, it becomes difficult to use the Flex Builder’s GUI to do such things. You are better off to use a build script to handle any builds. One big advantage is when you get on to non-human interfaces the framework is scalable. You have two options: Using Ant and Maven

Debugging and Profiling tools

There are some easy and not so easy ways to do so, but if you are using Flex Builder that should be more than suffice. Two other techniques are to use “trace” and “System.totalMemory()” that can be used effectively to understand how is the application progressing

Unit Testing Framework

FlexUnit is an effective way of doing unit testing in the code. It took me just over an hour to understand the framework an get started. If you want to understand why do you test then read this article.

Overall if you get these right, I am pretty sure that you will have an easy task of managing a scalable application.