Sie sind nicht angemeldet.

1

Donnerstag, 6. Dezember 2012, 18:05

make vrtour - powerful TOOL

Hello,
I made my biggest project with make vrtour and the tour editor saved a lot of time to me.Creating hotspots is very easy. But now I must set right rotation of the arrow manually.

Here is the draft. sample
On iPad it looks nice because the combobox gets bigger when long text is present - but NOT in Flash version for PC.I did not find how to make the combobox longer according the text...

Now I'd like to have for each scene title and "long title". Do I need to create some new variable for it?

And I am solving how to highlight some scenes in combobox. For example each floor with BOLD font....

2

Donnerstag, 6. Dezember 2012, 21:42

i found one mistake so far.
If I change the scene by hotspot, the list in combobox remains unchanged.
This will be hard to find a solution with my poor knowledge *cry*

HansNyb

Profi

Beiträge: 1 063

Wohnort: Denmark

Beruf: Photographer

  • Nachricht senden

3

Freitag, 7. Dezember 2012, 18:20

Here is an xml you can use as template.
I use an external xml for the combobox for example named combobox.xml and ad it as include to the main xml.

In the main xml you need also to ad the action to each scene like this.
<scene name="scene_2" onstart="box2();" >


<krpano version="1.0.8.15">

<plugin name="combobox" devices="desktop|tablet+android" zorder="10" alpha="0.8" native="false" cbfontstyle="bold" cbfontsize="12" itempadding="10" itemfontsize="16" scale="1" url="plugins/combobox.swf" alturl="plugins/combobox.js" align="topcenter" x="0" y="7" width="330" rowcount="15" height="25" keep="true" onloaded="fillbox();"/>

<plugin name="combobox" devices="ipad" zorder="10" alpha="1" native="false" cbfontstyle="normal" cbfontsize="11" itempadding="10" itemfontsize="14" scale="1" url="plugins/combobox.swf" alturl="plugins/combobox.js" align="topcenter" x="0" y="10" width="350" rowcount="15" height="20" keep="true" onloaded="fillbox();"/>

<plugin name="combobox" devices="iphone" zorder="10" native="false" cbdesignscale="1.5" cbfontsize="16" itempadding="5" itemfontsize="11" scale="1" url="plugins/combobox.swf" alturl="plugins/combobox.js" align="topcenter" x="0" y="5" width="370" rowcount="15" height="30" keep="true" onloaded="fillbox();"/>

<action name="fillbox">
additem(' Apresentação Video Depoimento', loadscene('scene_1',null,MERGE,BLEND(2)); );
additem('Presidente Sergio Machado', loadscene('scene_2',null,MERGE,BLEND(2)); );
additem('Presidente LULA', loadscene('scene_3',null,MERGE,BLEND(2)); );
</action>

<action name="box1">
plugin[combobox].selectitem ( Apresentação Video Depoimento));
</action>

<action name="box2">
plugin[combobox].selectitem (Presidente Sergio Machado));
</action>

<action name="box3">
plugin[combobox].selectitem (Presidente LULA));
</action>

</krpano>


Hans

4

Samstag, 8. Dezember 2012, 14:35

Hans, thanks a lot !
I will do it and let you know.
marty

5

Samstag, 15. Dezember 2012, 02:18

Hans, thanks again.

I forced to work it .

I used <action name="box3"> and onstart="box(3);" to my original XML.

Marty

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »martyhr« (15. Dezember 2012, 02:53)