Monthly Archives: January 2011

Flex: Show HTML text inside an Alert

As i just wanted to insert some bold text into an Alert box, I wondered why the Flex Alert doesn’t support HTML Text. So i wrote a Custom Alert class which just overwrites the regular Alert.show(). Through a trick, it allows to use HTML tags inside the text. package tools { import flash.display.Sprite; import mx.controls.Alert; import mx.core.IFlexModuleFactory; import mx.core.mx_internal; /** * Alert-Box [...]
Posted in General | Tagged | 4 Comments

Python script: Wait for a site to come up and notify me

For the last weeks, i’ve been working a lot with different servers, which take longer and longer to deploy new application bundles. Mostly i know that the deployment is complete when the website or the webservices of that application are up and return a successful status code (not 404). Another use case is when trying to [...]
Posted in General | Tagged | Leave a comment