Is it posible to handle "link" event in latest snapshot ? I see that it generates such code:

button39.addEventListener(MouseEvent.CLICK, clickbutton39);
....
public function clickbutton39(param1:MouseEvent){
           this.dispatchEvent(new TextEvent("link", true, true, "url"));
}

but i had no luck to handle it with such handler :

viewport.addEventListener("link", handler);
function handler(e:TextEvent):void {
   throw new Event(e.text);
}


Reply via email to