2
我正在嘗試從動態文本字段調用as3函數。來自動態文本字段的AS3函數調用
我已經試過這樣:
function showPopupWindow(){
trace("it works");
}
var texts="Hello world. <a href='#' onclick='showPopupWindow()'><u>This is a function call</u></a>";
text_txt.htmlText = texts;
的可能重複[軟硬度:如何從呼叫錨的htmlText ActionScript函數(http://stackoverflow.com/questions/871325/flex-how-to -call-AN-ActionScript的功能從 - 的htmlText錨) – shaunhusain 2012-07-30 22:40:46