Change link in combobox example

  • Hi, My name is Carlos and I am new to this forum. I hope to help and learn as much as possible. *wink*
    I tried to link to another url from the combobox example through the file "scenes-with-combobox.xml" and I have not been able *cry*
    My question is this:
    Is there a way to link to other websites from this menu?
    Perhaps the problem is in combobox.swf and combobox.js

    Edited 3 times, last by carlos (October 18, 2012 at 7:07 PM).

  • Hi,

    such functionality is not related to the combobox plugin, links/urls can be opened anytime by using the openurl() action.
    And this can be also done in the click event of an combobox item of course.

    e.g.

    Code
    <plugin name="combobox" url="combobox.swf" alturl="combobox.js" ...>
    	<item name="item1" caption="Item 1" onclick="openurl('http://....');" />
    	...
    </plugin>

    But one note - when testing locally there are same Flashplayer security limitations that avoids opening url!
    See the local usage notes for more details and how to change that limitations:
    https://krpano.com/docu/localusage/#top

    Best regards,
    Klaus

Participate now!

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