6/19/2010 8:17:03 AM
Title:
call actionscript function inside Html control
How to call ActionScript function from a HTML file loaded inside Adobe AIR?
6/19/2010 1:29:11 PM
use the asfunction identifier in the href to call an actionscript function on html link inside flex or flash application . see this example :
myText.htmlText="<a href='asfunction:clickFunction'>This links calls actionscript</a>";
function clickFunction() {
trace("Function called from htmltext");
}
I hope its clear :)