header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Krishna
Points:0
Posts:0
Answered

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



1
Rayan
Points: 700
Posts:0
Accepted Answer
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;
}


2
krishna
Points: 0
Posts:0
3/27/2011 12:33:25 AM



Ya its working


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 6+4 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions