Posts by Michi

    I'm still concerned with this problem. My question: Is there another possibility to mask the winter-panorama properly?

    This is my code for the mask, which works, but I get only 6-8 FPS, which is way too slow...


    Hotspot-Size is 955px, my mask image is attached: Note: it's 3000x1500px to fit most of the display resolutions

    I know, in Flash each mask can only be used for one element - but is there a way to optimize my code to get a higher framerate?


    If not, can it be done via blendmode? When I disable the masking of the hotspots and set one of the mask-plugins to blendmode invert, it inverts the winter-panorama behind the black parts of the mask.
    Is there a way to make this parts transparent?
    According to http://help.adobe.com/en_US/FlashPla…/BlendMode.html it should be possible when I use blendmode erase, but
    it doesn't work?

    Best Regards
    Michael

    Hi,

    yes I know - that would be possible - but it's not quite the effect I wanted.

    I got another idea:

    Let’s say I have a plugin containing the attached image on top of the hotspots and set the blendmode to alpha.
    According to http://help.adobe.com/en_US/FlashPla…/BlendMode.html this should work when I apply an alpha channel to the black parts of the image (the white parts are transparent). krpano supports .gif and .png as image-formats with transparency, but this formats don't save alpha-channels separately. .tif can do this, but it's no supported by krpano...

    So how can get an alpha channel to work in krpano?

    Best regards
    Michael

    Hi,

    Klaus made an automated solution for this *wink*

    You just need to make a plugin with onclick="action(prevscene);" and one with onclick="action(nextscene);" to call the actions...

    Regards
    Michael

    Hallo Klaus,

    Ich habe heute die iPhone-Lizenz gekauft und vergeblich versucht eine funktionierende verschlüsselte Datei für die iPhone-Version zu erstellen.

    Meine Vorgehensweise wäre folgende:
    1. Ich erzeuge meine Standard-Flashtour und erstelle mit dem kprotect-Tool eine SWF-Datei
    2. Nun erzeuge ich noch eine iPhone-Version der Tour, diese Tour nenne ich "iphone.xml"
    3. Die möchte ich nun mit dem Encryption-Tool in kprotect verschlüsseln - heraus kommt auch die entsprechende xml mit dem Inhalt: <encrypted>KE ....... ==</encrypted>
    4. Lade ich diese Datei (binär) auf meine Server bleibt das Bild beim iPhone schwarz - Mit der unverschlüsselten Datei funktioniert es.

    So sieht mein Quellcode aus:

    Code
    <script src="tour.js"></script>
    
    
    <div id="pano" style="width:100%; height:100%;">
    	<noscript><table style="width:100%;height:100%;"><tr style="valign:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>
    	<script>
    		embedpano({swf:"tour.swf", xml:"iphone.xml", target:"pano"});
    	</script>
    </div>

    tour.js ist die mit den krpano tools erzeugt kombinierte Datei
    tour.swf ist meine verschlüsselte Flash-Tour
    iphone.xml die spezielle HTML5 Tour

    Meine Fragen:

    Ist es überhaupt möglich nur diese iphone.xml zu verschlüsseln und wenn ja wie stelle ich das an?
    irgendwas scheint an meiner Vorgehensweise nicht richtig zu sein *confused*

    Viele Grüße
    Michael

    Hi,

    I`m building a tour using the scene tags. For several reasons i had to store the scenes in multiple xml files. Each xml represents a level in a building, so I've got
    different thumbs and different maps for each xml file. So far so good - but now I would like to use Klaus' prev next buttons example.

    So the problem with this example is that as soon as i go to another level in the building, meaning opening another xml, the scenes in this xml are also used for the prev/next action when i go back to the start-scene.

    It looks like krpano stores all the scenes in the ram, independent from the xml which contain them.
    Is there any solution for this, so that the prev/next actions include only the scenes from the current xml?

    Thank in advance & regards
    Michael

    Code of Klaus' example:

    Hab die png-Maske ergänzt:

    onover blendet die Buttons ein, mit onout verschwinden Sie nach 4.5 sec wieder wenn man von den Buttons runterfährt.

    Servus Klaus,

    danke für die Antwort, hat super geklappt.

    Ich fürde noch gern eine weitere funktion einbauen.

    Nachdem die Buttons mit hidebuttons ausgeblendet worden sind, sollen sie wieder sichtbar werden, wenn man mit der Maus über die Stelle
    fährt, an der sie sich befinden.

    Dazu habe ich eine Maske mit einem transparenten png erstellt die standardmäßig untern den buttons liegt. In der hidebuttons habe ich jetzt den
    Eintrag ergänzt, dass sich die zorder dieser Maske ändert:

    Das klappt soweit auch. Jetzt sollen aber alle Buttons sobald man mit dem Mauszeiger von einem runterfährt, nach sagen wir 3 sec wieder ausgeblendet werden, ungeachtet davon ob ich jetzt ins Bild oder auf die Buttons geklickt habe.

    Lässt sich das zusammen mit den bisherigen Aktionen verwirklichen?

    Viele Grüße
    Michael

    Hallo zusammen,

    Ich möchte, dass sich die Steuerungsbuttons während Autorotate automatisch ausblenden und sobald der Benutzer wieder eingreift
    sollen sie wieder sichtbar werden.

    Ich habe es schon so probiert:

    Das funktioniert nur nicht ganz so wie gedacht.
    1. Klickt man mit einem einfachen Klick in das Panorama, stopt zwar die Autorotation und die Buttons werden eingeblendet aber die Autorotation startet nicht mehr.
    2. Die Buttons werden mittels delayedcall nach dem Alpha tween unsichtbar gemacht. Greift man jetzt innerhalb der 2 Sekunden, in denen der tween stattfindet, wieder in das Panorama ein,
    stopt die Autorotation und die Buttons werden wieder sichtbar. Da aber der delayedcall weiterhin ausgeführt wird, werden die Buttons fälschlicherweise anschließend unsichtbar.

    Lässt sich mein Problem irgendwie anders lösen? Danke schonmal im Vorraus für eure Hilfe.

    Viele Grüße
    Michael

    Hi,

    kurze Frage: Kann ich bei einem Plugin einstellen, dass es z.b. bei onover eine Aktion erst nach einer bestimmten Zeit ausführt wenn ich lange
    genug mit der Maus darauf war.

    Also zum Beispiel: onover="tween(x,100);" soll erst ausgeführt werden wenn ich 0,5 Sekunden lang auf dem Plugin war und nicht etwa 0,2 Sekunden.
    Delayedcall ist hier wohl nicht zu verwenden, da er eine bestimmte Aktion ja nur verzögert ausführt.

    Weiß jemdand eine Lösung für mein Problem?

    Danke und Viele Grüße
    Michael