PDA

View Full Version : Alert Class in AS3.0



montyT
March 10th, 2009, 02:41 AM
Hi guys
i want to use Alert class in AS3.0, as it is removed from the AS3.0..

Is there any way to use it..?
:)

Krilnon
March 10th, 2009, 03:23 AM
Flex has (http://livedocs.adobe.com/flex/3/langref/mx/controls/Alert.html#includeExamplesSummary) an Alert class, but I have a feeling that it relies on some other Flex classes, so it may not be so easy to use in Flash CS3.

I've seen a few different developers write their own Alert classes. Here's one from Yahoo!:
http://developer.yahoo.com/flash/astra-flash/alertmanager/

…and here's one from a kF user, but the link appears to be down, so you'd have to contact Dark Viper to find the source:
http://www.kirupa.com/forum/showthread.php?t=285719

montyT
March 10th, 2009, 03:46 AM
thanks for your input
got the solution
:)