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.

bulp

Intermediate

  • "bulp" started this thread

Posts: 388

Location: Malaysia

  • Send private message

1

Wednesday, May 6th 2009, 6:00am

ComboBox plugin hv flaw.. or maybe my script..

Hello Mr Klaus...

im using loadscene script.. but after log into combobox scene... and if i didnt close combobox ... the box will open if i go back to firstscene.. and this will cause and error,



this is my code.. from combobox scene to firstscene...

Source code

1
onclick="set(plugin[combobox].visible,false); set(plugin[combotext].visible,false); set(plugin[mask].visible,true);action(hideimage,infoguide); wait(blend); oninterrupt(action(lookinterrupt));loadscene(Home, null, MERGE, BLEND(1)); event:lookto(0,0,80);lookto(90,0,80); action(rectview);"


and i hv this other problems.. if i enter fullscreen in combobox scene, then id jump into first scene.. the enter fullscreen button still the same.. not change to close fullscreen button..

thanks.

This post has been edited 1 times, last edit by "bulp" (May 6th 2009, 6:10am)


2

Wednesday, May 6th 2009, 9:02pm

Hi,

is keep="true" set for combobox plugin?

or if you want you can select the correct combobox item direct via the selectitem() function...

about the fullscreen buttons, the state of them must be changed manually,
the onenterfullscreen and onexitfullscreen events can be used for this,
here again the question - is "keep" set to "true" for the buttons?

because when keep was not set, the buttons will be reloaded in every scene/xml
when they were "included" for example,

best regards,
Klaus

bulp

Intermediate

  • "bulp" started this thread

Posts: 388

Location: Malaysia

  • Send private message

3

Saturday, May 9th 2009, 1:29pm

Mr Klaus.. the enterfullscreen & exitfullscreen button flaw already solved..

but the combobox button still hv the same problem... even i use keep="false"

Source code

1
2
<plugin name="combobox" keep="false" url="./plugins/combobox.swf" align="leftbottom" x="10" y="20" />
        <action name="combobox:STESEN KTMB">loadpano(null,sphere=./img360/STESEN KTMB.jpg,KEEPALL,BLEND(1));</action>

4

Monday, May 11th 2009, 1:03pm

Hi, it seems already working, or?

bulp

Intermediate

  • "bulp" started this thread

Posts: 388

Location: Malaysia

  • Send private message

5

Monday, May 11th 2009, 5:16pm

sorry ... hehe...

the combobox hv the same problems...

by the way.. any reason u delete the combobox as a main option for plugins?

6

Tuesday, May 12th 2009, 5:04pm

the combobox hv the same problems...
can the describe the problem more detailed, I'm not sure what you mean?...
I have looked at the example and it seems working well...

by the way.. any reason u delete the combobox as a main option for plugins?
??? delete it ???

best regards,
Klaus

bulp

Intermediate

  • "bulp" started this thread

Posts: 388

Location: Malaysia

  • Send private message

7

Tuesday, May 12th 2009, 5:33pm

haha.. im not sure wht im typing there...

anyway.. "im using loadscene script.. but after log into combobox scene (sample no. 2)... i didnt close combobox (or accidently any of my visitor do it) ... the box will open untill i go back to firstscene.. and this will cause and error,

[img]http://krpano.com/forum/wbb/index.php?page=Attachment&attachmentID=80&h=7ed858a2b9f3f8abbdac975cd483597d27ff6ccf&thumbnail=1&embedded=1[/img]"

this is my problem...