Beiträge von s_m_taheri

    I've tried to convert embedexample.fla to an Adobe AIR App but I got this error at output:


    so what's the solution?


    I use this block of code but i got this error:

    Zitat

    1120: Access of undefined property pluginobject.

    Zitat

    pluginobject.myfunction = plugin_test_hello;

    here it is:

    Code
    import krpano_as3_interface;
    var krpano:krpano_as3_interface = krpano_as3_interface.getInstance();//var view:Object = krpano.get("view");
    if (krpano.get == null){// run plugin swf standalone - no interfaces - add dummy functions
    function dummy_get(v:String):String{if (v != "progress.loaddone"){trace("get(" + v + ");");}return "";}function dummy_set(v:String,val:String):void{trace("set("+v+","+val+");");}
    function dummy_call(action:String):void{trace("call("+action+");");}
    krpano.get = dummy_get;krpano.set = dummy_set;krpano.call = dummy_call;}
    krpano.set("plugin[GUI].autopos", "center,0,0");krpano.set("fullscreen", true);krpano.set("control.mousetype", "moveto");krpano.set("control.movetocursor", "arrow");//view.hlookat = 10;

    this block of code works fine, but i want to use Object method you mentioned above.