with flex itself you can't make a widget. I mean, you can build an application but then you will need to turn it into an AIR file so it can work as a widget.
Any flex application can actually be a widget, the difference from my point of view is the size (dimensions) just make it an AIR and you're done
salut
:: Games Garden ::