When working with Flex applications, it may useful to see the output from the trace() function. Well, the good news is that if you have the debug version of the Flash Player installed, it is really easy to redirect the trace() output to an external file which can you browse using any text editor.
There are lots of excellent online resources for this already, but here is a brief run-down…
Continue reading ‘Debugging Flex applications with mm.cfg and flashlog.txt’
The following example shows how you can control the Button control’s text color using the color, disabledColor, textRollOverColor, and textSelectedColor styles.
Full code after the jump.
Continue reading ‘Changing a Button control’s text color’
The following example shows how you can use the Button class’s textAlign style and labelPlacement property to control the text layout in a Button control.
Full code after the jump.
Continue reading ‘Changing a Button control’s text alignment and label placement’