Posts by nick

    Hi,

    can you show how you have registered these events,
    I think they should work in flex too

    best regrads,
    Klaus

    Hi Klaus,

    i use the following:

    Code
    krpano = krpano_as3_interface.getInstance();
    krpano.addPluginEventListener(this, krpano_as3_interface.PLUGINEVENT_RESIZE, pluginResize);

    The corresponding handler:

    Code
    private function pluginResize(e:DataEvent):void {
         krpano_trace(1, "resize");
    }


    since the PLUGINEVENT_REGISTER isn't also fired, i register the events in an init()-function, called from creationComplete in <mx:Application>
    Btw: I use the latest Beta of KRPANO.

    Thanks,
    Nils

    I tried to develop some plugins with the full flex sdk (not only with an action script class) - works well, except for the event handlers.
    I did'nt manage to register events like PLUGINEVENT_REGISTER or PLUGINEVENT_RESIZE, no event is fired. Do you have any idea on this?

    Thanks for this gorgeous player!
    Nils