tabbing input fields in a plugin

  • Hi

    I created a plugin for KRPano which has a simple form with several input fields. Everything seems to work fine except that I can't make the tab index work on theses fields (i.e. use TAB key to move between the fields of the form). I was wondering if this is just a bug that might be on the side of my pugin or is maybe tabbing disabled in the krpano main SWF? If it is is there a way to enable it back?

    Thanks
    Bartek

  • Hi,

    the tabbing is disabled for plugins,
    but you can enable it again from AS3:

    get the "Sprite" object that contains the plugin and enable it:

    Code
    var pluginsprite:Sprite = krpano.get("plugin[yourplugin].sprite");
    pluginsprite.tabEnabled = true;
    pluginsprite.tabChildren = true;

    best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!