PHP Code:
// use asfunction in an html-enabled dynamic textfield
// publish and upload swf and html to server. test online
function linkOne(){
str = "http://www.mapquest.com/maps/map.adp?"+
"searchtype=address&country=US&addtohistory="+
"&searchtab=home&formtype=address&popflag=0"+
"&latitude=&longitude=&name=&phone=&level=&cat=&address=2011";
getURL(str, "_blank");
};
this.createTextField("test",1,100,100,100,20);
test.border = true;
test.html = true;
test.htmlText = "open <a href='asfunction:linkOne'>link</a> here";