Posts by w_guelcker

    Hi,

    if the Inputfile for "Make Vtour" contains a hyphen (-) then the hyphen in the generated folder name is replaced with an underline (_).
    This is new in 1.22. In 1.21.2 this was not the case.

    I have tested this with vtour-normal.config, multires.config, flat.config.

    Code
    F.i.
       Inputfile:
           g_03-1_200727.jpg
       Tiles directory:
           g_03_1_200727.tiles

    Is there a way to prevent this, because the hyphen has a meaning for my further processing?

    Now I have to replace the hyphen in the folder name and in the pano.xml/tour.xml by hand (which is of course doable).

    Wolfgang

    Hello Klaus,

    in 1.21 the string '*' as action parameter is passed as null.

    Code
    <action name="test" scope="local" args="arg1">
       trace(%1, " - ", get(arg1));
    </action>
    test('*');

    results in "INFO: null - null"

    Not a great problem, but one has to know it.

    Wolfgang

    here it is:
    Onclick, onover, ondown, ... are defined in "meta_hotspot_style". The variable "tooltip" here is an attribute of my hotspot that holds the text to be displayed as tooltip, f.i. hotspot[h12].tooltip. Explanations are at the end.



    On touch devices a delayedcall() calls after 0.5 sec the action "tooltip_ondown()", which shows the tooltip with an offset of 40 px.
    The corresponding onup() stops the delayedcall. The problem is: the onup() starts also the onclick() action which should do nothing in this case.
    To handle this a variable is set to true in ondown (here "settings.tt_touch"), which is questioned in the onclick action and set to false. If the variable is true onclick does nothing else.

    I hope this helps.

    Wolfgang

    Hi,
    I did projects for a museum - as a form of sponsorship, not for money. They run with my private license.

    But I will persuade them, to buy a license on their name, at best a Branding Free License. Is it possible to combine a Branding Free License on the name of the museum with a normal license on my name or have they to buy both licenses?

    I have no problem with the latter, but I want to be prepared for questions.

    Wolfgang

    NOT work wait(0)


    Serge, you saved me - many thanks.

    2 days ago i noticed the same problem with flash in pr4-pr6: Drgagging the pano was not possible, klicks on thumbs and hotspots didn't do anything.
    But the right mouseclick showed the contextmenu and clicks in textfields did what they were supposed to do. Very strange.

    And now: after I removed my 1 wait(0) in 2000 lines: everything OK in PR6 with Flash!

    I dont't know if i had found this - many thanks!

    Wolfgang

    I have a problem with parsing 1-letter query parameters since 1.19pr4.

    The following URL worked OK in 1.19pr3 (with passqueryparameters:true in the html):

    Code
    test.html?s=1&h=2&v=3&f=4


    In 1.19-pr4, -pr5 and -pr6 only parameters 1 and 3 are parsed correct.

    A trace of the variables s,h,v,f shows in these versions:

    Code
    s: 1
     h: h
     v: 3
     f: f

    If I change the URL to 2-letter parameters

    Code
    test.html?ss=1&hh=2&vv=3&ff=4

    everything works fine in -pr4, -pr5 and pr6.

    Wolfgang

    Hello,

    to get hotspot coordinates I have an action to put the sphere coordinates into clipboard (on flash) after pressing a key. This action uses:

    screentosphere(mouse.x,mouse.y,toh,tov);

    toh, tov are the sphere values to place the hotspots. These values are wrong if the projection is not "normal" but f.i. "architectural".

    Perhaps this is a feature, not a bug. I have no problem with this, but one should know this when using screentosphere(), so one can change the projection to "normal" before. I think this should be documented.

    Regards

    Wolfgang

    Hello

    The Html-Code '<a href="event:action()"' is used to start actions from the textfield. This doesn't work on my old Ipad 2 under Safari (iPad - iOS:8.3 - Safari 8.0 - WebGL).

    I have not tested this before, so I can't say if the recent update to IOS 8.3 is the culprit. I didn't test it with other Ipads.

    This is reproducable with the "official" Interface-JS-Example "Get a link to current pano view": "Close" in Textfield (after ".. via XML") does not work (krpano 1.18.3)

    I tested it too with the old example http:/https://krpano.com/examples/textfield - Same result (krpano 1.19-pr1).

    All examples work perfectly well with an alternative browser (iCab Mobile), so it has to do with Safari.


    Regards
    Wolfgang

    If subtxt() is used with a result variable that stores the result of a preceeding indexoftxt() or a mathematical operation, then the result is NaN instead of the extracted string.

    If the result variable has never been used or stores a text, everything is OK.

    Code
    set(var, "A string! A string.");
    indexoftxt(num_result, get(var), "!" );
    subtxt(num_result, var, 2, 7);
    set(str_result, "abc");
    subtxt(str_result, var, 2, 7);
       trace('result in num_result: ', num_result);
       trace('result in str_result: ', str_result);

    Output:
    INFO: result in num_result: NaN
    INFO: result in str_result: string!

    It looks like 'num_result' has an attribute "I'm a numerical value" which is not changed in subtxt().

    Best regards,
    Wolfgang

    If I try to convert a functioning tour into a standalone Exe with kprotect, i get a fatal error as big line in the middle of the screen, after starting the generated Exe, in my case saying:

    "FATAL: scene1/scene1.xml - loading error (IO Error)".

    The crazy thing is that the tour is OK, the loading has happened - only the error message stays permanently.

    I have a complicated folder structure - separating common parts and tour dependant parts, with the panoramas of a tour in separate subfolders sceneX. But my problem can be stripped down to the following files:

    <swfdir>/proj/Test1/test.xml (the Startup XML)
    <swfdir>/proj/Test1/scene1/scene1.xml
    <swfdir>/skin/common.xml
    <swfdir>/proj/Test1/test.html (the Startup HTML)

    I'm working under Windows Vista with the latest beta (krpano.swf 1.0.8.14, build 2011-05-20) and "krpano Protect Tool.exe" from 2011-04-11. The Placeholder paths are set, with BASEDIR to "<swfdir>/proj/Test1"

    The files:

    <swfdir>/proj/Test1/test.xml:

    Code
    <krpano version="1.0.8" onstart="new_pano(scene1);"> 
    <include url="%SWFPATH%/skin/common.xml" /> 
    </krpano>


    <swfdir>/proj/Test1/scene1/scene1.xml:

    Code
    <krpano version="1.0.8" onstart="showlog(true);trace('scene1 working');" > 
    <preview type="grid(cube,16,16,512);" /> 
    </krpano>


    <swfdir>/skin/common.xml:

    Code
    <krpano version="1.0.8" > 
    <action name="new_pano"> 
    <!-- loadpano(%HTMLPATH%/%1/%1.xml); --> 
    loadpano(%_BASEDIR%/%1/%1.xml); 
    </action> 
    </krpano>


    (I couldn't enter BASEDIR correct in the forum editor)


    <swfdir>/proj/Test1/test.html:


    If kprotect loads and resolves Test.xml, it shows an error in red: "../Test1/%1%1.xml" not found.

    I had to add "scene1/scene1.xml" to the embedded Xml files manually, because it is loaded dynamically.

    Another distyturbing thing is: if i substitute BASEDIR in common.xml with HTMLPATH, the loading doesn't happen - only the error message is shown.