Always close your lines with a semi colon!

On September 23, 2008, Flex - No Comments

Today I encountered some strange behaviour when using the [ArrayElementType] tag. I had a piece of code which looked like this:

?View Code ACTIONSCRIPT
package {
	import mx.collections.ArrayCollection;
	[Bindable]
	public class MetaData {
		public var ac:ArrayCollection
		[ArrayElementType("nl.flexperiments.test.TestObject")]
		public var ac2:ArrayCollection;
	}
}

more…

Writing components in Flex, part 3

On September 12, 2008, Components,Flex - 3 Comments

Right, it’s been more than a month now, time to round up this tutorial. If you haven’t read the previous parts, here’s part 1, and here’s part 2.

In this chapter we’re going to fine-tune our component. The basic functionality is in it, but there isn’t really much communication with the outside world going on. We can change that using events, meta-tags, asdoc and we are also going to do some styling. more…