Textfield js set enabled, visible, alpha not working ?

  • I'm slowly starting to get the hang of krpano, but I have been scratching my head on the code below for a few days now... and I'm trowing my towel into the ring.

    Would any of you please help me out. The code below simply does not work, and I do not understand why.


    It's basically these two calls that will not function for some reason :
    set(plugin[bonusRoundText].enabled,true);
    set(plugin[bonusRoundText].visible,true);

    If I hardcode the settings in the textfield plugin parameters, it works, and my text is displayed, but I cannot seem to set these values through the set function.

    What am I overlooking here, and is there a better way to do it ?

    The flash version seems to behave as expected (I'm also getting weird css behaviour in the JS version, but that is the least of my concerns right now).

    Any help is much appreciated.

  • After posting this question, some helpfull suggestions came up below the post.

    It seems that "autosize" is causing this.

    Setting it to "none" makes it work perfectly, so please disregard my question above. I'm just posting this as a solution if anyone might have the same question in the future.

Participate now!

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