Archive for the ‘Uncategorized’ Category

QTP runtime error. TypeError: Error #1006: showConnectionAttemptMessage is not a function.

January 26, 2012 Leave a comment

If you compile an air application against the latest Flex 4.6 SDK and include the QTP and automation libraries, you will hit a wall:

TypeError: Error #1006: showConnectionAttemptMessage is not a function.
Read more…

Categories: Uncategorized

Getter & Setter accessors with different namespaces

October 21, 2011 2 comments

Although the bug is still open, you are able to create a getter/setter combo for a property with different namespaces. Sweet!

You will get a compile error when trying to write to the read only property, and you will get a runtime error if you try bracket notation on the object to set the property.

<?xml version="1.0" encoding="utf-8"?>


			private var _myVar:Boolean;

			public function get myVar():Boolean
				return _myVar;

			private function set myVar(value:Boolean):void
				_myVar = value;

Categories: Uncategorized

ButtonBar radio logic hack

September 30, 2011 Leave a comment

Update: Set the requireSelection property to true.

When the button bar is used as a navigation tool for a set of tabs, it doesn’t make sense for the selected button to be unselected if the user clicks on it.

It is also fairly typical for a result handler of the IndexChangeEvent.CHANGED to utilize the button bar’s selectedItem property to access a piece of data. This causes runtime errors when the selected item is no longer selected because of a re-click on the selected button.

Read more…

PUNQ 1.0 released

September 15, 2009 Leave a comment

I’ve been working on a free IT Search tool for the past couple of months at my company called PUNQ.

See the official press release here, a summary on the tool here, and the you-tube help videos here.

I think the toughest part of the project was integrating the code base among platform specific features including a web (flex) version and an air version for desktop apps.

Categories: Uncategorized