Dopo "event:" si mette la o le variabili che intendi usare nella funzione.
Esempio:
Codice PHP:
campo_testo.htmlText = "[url='event:hello!']Clicca qui[/url]";
campo_testo.addEventListener(TextEvent.LINK, linkHandler);
function linkHandler (e:TextEvent) {
trace (e.text); // output: "hello!"
}