I am trying to build a button that will active specific Javascript function.
I tried:
getURL("javascript:functionName()");
but its seems like a bad idea (plus it doesn't work)..
or
import flash.external.ExternalInterface;
function call_javascript(evt:MouseEvent):void {
ExternalInterface.call("functioName()");
}
btn.addEventListener(MouseEvent.MOUSE_UP, call_javascript);
none of this working for me..