You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Saturday, April 20th 2013, 2:32pm

How to get item caption value in krpano combobox plugin?

Does anyone know how to get <item> caption value in krpano combobox plugin?

example.: I have plugin[combo] and I have subnode name="item2". I wont to get text value caption of this subnode. I've tried get(plugin[combo].item[item2].caption) but isn't work *unsure*

<plugin name="combo"
url="combobox.swf"
alturl="combobox.js"
align="leftbottom" x="10" y="10"
onloaded="fillbox();"
/>

<action name="fillbox">
addIdItem(item1, 'Item 1', trace(Item 1 clicked) );
addIdItem(item2, 'Item 2', trace(Item 2 clicked) );
addIdItem(item3, 'Item 3', trace(Item 3 clicked) );
...
</action>


Thanks and best regards
Michael

This post has been edited 2 times, last edit by "FlashStudio" (Apr 22nd 2013, 4:41pm)


2

Wednesday, April 24th 2013, 2:40pm

get(plugin[combo].item[item2].caption)
This would be correct and should work.

3

Friday, April 26th 2013, 10:10am

It is not working when I add items dynamically to combobox plugin *sad*

4

Tuesday, April 30th 2013, 6:51pm

Hi,

right - the Flash combobox plugin doesn't update the item data structures when dynamically adding/remove the items.
This will be fixed in the next release.

Best regards,
Klaus