COMBOBOX selectIditem need help

  • Hi,

    I dont understand what is wrong with my script ( action script ) ,

    I try to use the selectIditem ability from the combobox and all i get is a error message :

    unknown action command: plugin[cb_meditor_scenehs].selectiditem


    krpano.call("plugin["+comboboxName+"].selectIditem("+idItem+")");

    I dont know exactly what is wrong... any idea?

    I know for sure that the combobox have a good name because if i try to delete it with :
    krpano.call("removeplugin("+comboboxName+");");

    it delete it perfectly.

    Also im able to change the visibility....

    Edited once, last by 200b0cvm (April 20, 2011 at 11:10 PM).

  • Hi

    Thanks for your answer, i just found the answer...

    I was tring this :

    krpano.get("plugin["+comboboxName+"]").selectIdItem("+ItemID+");

    instead of :

    krpano.call("plugin["+comboboxName+"].selectIdItem("+ItemID+");");

    now it work... :P

Participate now!

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