swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] Handling "link" event


From: Max
Subject: [Swftools-common] Handling "link" event
Date: Sun, 15 Mar 2009 13:13:21 +0200
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

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

[Prev in Thread] Current Thread [Next in Thread]