Archive for March 21st, 2008

21
Mar

Creating an undraggable Alert control in Flex

The following example shows how you can create a Flex Alert control that isn’t draggable by listening for the mouseDown event and calling the stopImmediatePropagation() method in the event handler.

Full code after the jump.

Continue reading ‘Creating an undraggable Alert control in Flex’

21
Mar

Customizing a FormItem container’s label in Flex 3

The following example shows how you can access the Label subcomponent in a Flex FormItem container and do fancy stuff like have form labels with hyperlinks or selectable text by using the itemLabel property.

Full code after the jump.

Continue reading ‘Customizing a FormItem container’s label in Flex 3′