I needed a simple spark button with only an icon – basically a bitmap made into a button. The problem is that I have lots of these buttons, each with a different icon – and all the skin samples use hard-coded assets. UPDATE: The new Flex 4.5 Hero has this feature built in, as described in [...]
READ MORE »Posts in category Quick Tips
Tip: Dump any object to trace quickly
Heres a useful tip on using the mx utils package. Occasionally we need to trace values of objects, whether these are flash display objects or your own classes and VOs. Simply outputting an object to trace will generate an output like [Object Object] without any useful info about the contents of the object.
READ MORE »Transparent buttons in Flex – the easy way
Making a flex button appear flat or transparent does not require any skinning – there are plenty of style options, and all we need to do is find the right setting. This may sound trivial, since we can make any display object clickable – but since I find myself spending way too much time on [...]
READ MORE »