Beiträge von www.aerorama.net

    Well, I have identified this location in the vtourskin.xml where I introduced a spot definition

    Code
    <layer name="skin_map" state="closed" url="" visible="false" align="lefttop" width="100%" height="50%" x="0" y="0" zorder="1" lat="0" lng="0" zoom="10" bgalpha="0" maptype="satellite" onmapready="skin_addmapspots();">
    					<maptypecontrol visible="true" align="righttop" x="5" y="5" buttonalign="v" />
    					<radar visible="false" headingoffset="0" />
    					<spotstyle name="DEFAULT" url="vtourskin_mapspot.png" activeurl="vtourskin_mapspotactive.png" edge="bottom" x="-5" y="-8" scale="0.5" />
              <spot name="spot1" lat="41.898761" lng="12.473094" heading="0" active="true" />
    					<layer name="skin_map_zoom_in"  style="skin_base" visible="false" crop="9|512|46|64"  align="right" x="0" y="-40" zorder="2" ondown="layer[skin_map].zoomin();  skin_buttonglow(get(name));" onup="skin_buttonglow(null);" />
    					<layer name="skin_map_zoom_out" style="skin_base" visible="false" crop="73|512|46|64" align="right" x="0" y="+40" zorder="2" ondown="layer[skin_map].zoomout(); skin_buttonglow(get(name));" onup="skin_buttonglow(null);" />
    				</layer>

    Would this be the correct place?

    It works, but I would like to implement the spots in some other xml file in order to keep everthing organized.

    Best regards

    Hello,

    I have been working for some time with krpano,

    but I'm using the virtual tour generator for the first time.

    I can activate for instance google maps, but I do not see where to introduce the spots for the map corresponding to the individual panoramas. Where is the plugin initialized? Where exactly should I define the spots?

    Thanks

    Hello,

    I suppose the title is not really clear, but I do not know how to title my problem...

    So here is the thing...


    I have a plugin which contains more than one field:

    Code
    <plugin name="var"
    A="text1"
    B="text2"
    >

    If I do


    Code
    trace(get(plugin[var].A),'   ',get(plugin[var].B));
    set(plugin[var].A,'text3');
    trace(get(plugin[var].A),'   ',get(plugin[var].B));

    then I get an output like

    Code
    text1 text2
    text3 text2

    So, everything is fine!

    Now if I want to get the value of var.A into var.B, then I do

    Code
    trace(get(plugin[var].A),'   ',get(plugin[var].B));
    set(plugin[var].B,get(plugin[var].A));
    trace(get(plugin[var].A),'  ',get(plugin[var].B));

    with the output like

    Code
    text1 text2
    text1   text1

    If I however try to do the following thing

    Code
    trace(get(plugin[var].A),'   ',get(plugin[var].B));
    set(plugin[var].B,get(plugin[var].A));
    set(plugin[var].A,text4);
    trace(get(plugin[var].A),'  ',get(plugin[var].A));

    I get as an output

    Code
    text1 text2
    text4   text4

    when what I would expect is

    Code
    text1 text2
    text4   text1

    So, somehow plugin[var].B ist also affected by the set(plugin[var].A,text4) line due to the comand set(plugin[var].B,get(plugin[var].A)); before, although it is not even 'touching' that variable.

    How can this be?????
    What am I doing wrong??

    Cheers

    Hallo!
    Ich muss leider wieder ein Thema ansprechen, was hier im Forum schon x-fach besprochen wurde, aber keine Diskussion scheint mir weiter zu helfen. Also poste ich mal wieder was.

    Und nämlich:

    Code
    pausedonstart="true"

    scheint keine Wirkung beim laden eines Videos zu haben. Das Video startet direkt durch. Ich habe versucht auch andere MEthode einzusetzen, um das Video gleich zu Beginn zu pausieren, aber irgendwie funktioniert nichts. Kann es immernoch. bzw. schon wieder mit irgend einem Bug von Flashplayer zu tun haben.

    Oder habe ich irgendwo etwas falschen eingerichtet/getippt?

    Mein code ist ziemlich standard:

    Weitere Varianten, die ich ausprobiert habe, waren etwa die Benutzung von

    Code
    onvideoready="pause();"

    oder

    Code
    onvideocomplete="paused();"

    , wobei ich auch mal

    Code
    stop();

    ausprobiert habe. NIchts scheint zu gehen.

    Funktionieren tut dagegen

    Code
    onclick="togglepause();"

    ohne Probleme.

    Kann mir jemand hierbei weiter helfen?

    Ein Beispielcode wäre mir auch lieb *wink*

    Merci

    Hello everyone.
    I hope this is the right place to post this issue.

    I would like to have something like

    Code
    <plugin name="plugin_name" 
    ...
    some_var="get(plugin[other_plugin_name].other_var);"
    ...    	
        	/>

    I do not know if something similar to this is possible. To be honest, I did not find anything indicating how to carry out susch a var transfer from one plugin to another, so to say.

    Can someone help me with this one.

    xanks
    Pat

    Hallo!
    Ich sehe, dieser Post ist schon ganz schön alt, aber ich versuche es trotzdem einmal.

    Und zwar: Solange ich nur Text verwende, funktioniert autosize blendend. Nun möchte ich aber ein <img > hinzufügen, und schon geht die ganze Funktionalität sausen... Das Bild wird gar nicht wahrgenommen in der Berechnung der 'auto-höhe'. Was kann man tun, um dies zu verhindern.

    Schöne Grüße
    Pat

    with north = 0, I mean that you should align your panorama so, that the center of the image is your north bearing (so in krpano ath = 0 = north)

    Hello, I have the problem of having two panoramas wich are not align to same 'north', meaning, the ath = 0 is looking at different directions in both panos. this is a problem when going from one pano to the next, since they are no aligned to eacht other.

    how can i correct this? some correction factor, so ath=0 is lookint at the real north in both panoramas.

    thanks