Difference between Display Object and Display Object Container

August 28, 2008 at 12:07 pm (ActionScript, Flex) (, , , , )

In ActionScript 3.0, anything that appears on the application screen are types of display objects and display object containers are special types of display objects. Though both are visually represented in the application in the same way, the difference between them is that one can add child display objects to a display object container. That means, you can use a Sprite as a display object container and can add shapes, bitmaps, texts,… as child display objects.

Permalink 1 Comment

How to split a pipe(|), comma(,), tab, space,… separated string in ActionScript 3.0

August 21, 2008 at 12:51 pm (ActionScript, Flex) (, , )

To split a pipe(|), comma(,), tab, space,…. separated string into multiple string values in ActionScript 3.0, you will have to use the split() method of String class. Below is short example where in a pipe(|) seperated string is broken up into multiple values and pushed into an array.

var cities:String = "Bombay|Los Angeles|Moscow|London|Rio de Janeiro|Sydney";
var citiesArray:Array = cities.split("|");

trace(citiesArray); //Result: Bombay,Los Angeles,Moscow,London,Rio de Janeiro,Sydney

Permalink Leave a Comment

Article: Introducing E4X

August 10, 2008 at 9:21 pm (Flex, XML) (, , , )

Found a great article on E4X by Kurt Cagle. Below is the link.

Introducing E4X

Permalink 1 Comment

Getting back Windows XP Welcome screen for login on my Lenovo laptop

August 10, 2008 at 9:10 pm (Lenovo, Windows) (, )

I recently reinstalled drivers and some applications provided by the vendor on my Lenovo laptop. Upon completion and rebooting, I found that I had lost my Welcome screen on Windows XP. I was staring with anguish at a Windows NT login screen. Below are a a couple of forum threads which helped me in determining the reason behind it as well as some good solutions.

Thread One

Thread Two

The reason was a file – tvt_gina.dll which was installed with Lenovo’s ThinVantage Access Connection software. The solutions ranged from playing with the registry in Windows using regedit to doing the same in Windows Safe mode.

As for me, I uninstalled ThinkVantage completely and I got back my Welcome screen!

Permalink Leave a Comment