[]htmlText的TextEvent.LINK如何实现
您好,请问在laya里面,怎么实现以下功能?
htxt = new HTMLDivElement();htxt.htmlText = "<u><a href='https://ask.layabox.com/event:'><font color='#ff0000'>如有问题请点击这里</font></a></u>";
htxt.addEventListener(TextEvent.LINK, linkHandler);
private function linkHandler(evt:TextEvent) : void
{
**************
}
htxt = new HTMLDivElement();htxt.htmlText = "<u><a href='https://ask.layabox.com/event:'><font color='#ff0000'>如有问题请点击这里</font></a></u>";
htxt.addEventListener(TextEvent.LINK, linkHandler);
private function linkHandler(evt:TextEvent) : void
{
**************
}
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
cuixueying
赞同来自: