I have tried :-
Code
import krpano_as3_interface;
var krpano:krpano_as3_interface;
krpano = krpano_as3_interface.getInstance();
function myfunction(p1:String):void {
trace("myfunction");
}
if (krpano) {
trace("krpano initialised");
trace("myfunction = " + myfunction);
krpano.set("events.myfu", myfunction);
}
Display More
And I have tried this syntax also :-
... but everything I have tried produces the following : "Error #1006: value is not a function."
I am using ActionScript 3 and Flash CS3, and version 1.0.7 of the AS3 Interface for krpano as suggested in this thread: 283.