3/23/2011 10:09:37 AM
Title:
Hyperlink in Alert
Hi All,
How to show hyperlink in alert, please help me on this.
With Regards,
Krishna
Rayan
Points: 700
Posts:0
3/23/2011 11:42:44 AM
use this code to display alert with hyperlink in flex or flash builder by setting the htmltext property. here is the example code
//use this function to show alert with hyperlink
protected function showAlert():void
{
var txt:String = " Hyper link in alert:<a href='http://www.askmeflash.com'><b>askmeflash.com</b></a>";
var alert:Alert = Alert.show(txt, "Alert with htmltext");
alert.mx_internal::alertForm.mx_internal::textField.htmlText =txt;
}