How to use Alerts in Action Script 3.0

It is quite easy to create a modal pop-up window in Flex 2 and I have managed to do it. There are references to an alert class in action script 2.0 but there does not seem to be an alert class in Action Script 3.0? Does anyone know how I can get the equivalent of Alert functionality in Action script 3.0?