Beiträge von GiuLiaN

    Hy...

    Can help me anybody?

    I want when i click on open button to show my menu... and display close button not again open button....

    This is my code !


    <plugin
    name="menu2"
    url="mask.png"
    keep="true"
    visible="true"
    enabled="true"
    handcursor="false"
    capture="false"
    zorder="1"
    alpha="1.00"
    blendmode="normal"
    smoothing="true"
    align="top"
    edge="centre"
    x="0" y="-50"
    ox="" oy="0"
    rotate="0"
    width="" height=""
    scale="1"
    scale9grid=""
    crop=""
    mask=""
    onloaded=""
    onover=""
    onhover=""
    onout=""
    ondown=""
    onup=""
    onclick=""
    />

    <plugin name="button_thumbs"
    url="thumbs_button3.png"
    visible="true"
    enabled="true"
    handcursor="true"
    capture="true"
    children="true"
    zorder="100"
    alpha="0.5"
    blendmode="normal"
    smoothing="true"
    align="centertop"
    edge="center"
    x="0" y="15"
    ox="0" oy="0"
    rotate="0"
    scale="1"
    width="200" height="40"
    scale9grid=""
    crop=""
    mask=""
    onloaded=""
    onover=""
    onhover="showtext(Open !,style10)"
    onout=""
    ondown=""
    onup=""
    onclick="action(open_map2));"
    />
    <plugin name="button_thumbs2"
    url="thumbs_button2.png"
    visible="true"
    enabled="true"
    handcursor="true"
    capture="true"
    children="true"
    zorder="100"
    alpha="0.5"
    blendmode="normal"
    smoothing="true"
    align="centertop"
    edge="center"
    x="0" y="15"
    ox="0" oy="0"
    rotate="0"
    scale="1"
    width="200" height="40"
    scale9grid=""
    crop=""
    mask=""
    onloaded=""
    onover=""
    onhover="showtext(Close!,style10)"
    onout=""
    ondown=""
    onup=""
    onclick="action(close_map2));"
    />

    <action name="close_map2">
    tween(plugin[menu2].oy,100,distance(700,3),linear);
    tween(plugin[menu2].alpha,1,distance(1,0.5),easeoutquart);
    tween(plugin[button_thumbs2].oy,100,distance(700,3),linear);
    set(plugin[button_thumbs2].onhover,showtext(Close!,style10));
    set(plugin[button_thumbs2].onclick,action(close_map2));
    </action>

    <action name="open_map2">
    set(plugin[menu2].visible,true);
    tween(plugin[menu2].oy,0,distance(700,3),linear);
    tween(plugin[menu2].alpha,1,distance(1,0.5),easeoutquart);
    tween(plugin[button_thumbs].oy,300,distance(700,3),linear);
    set(plugin[button_thumbs].onhover,showtext(Open !,style10));
    set(plugin[button_thumbs].onclick,action(open_map2));
    </action>
    </action></plugin></plugin></plugin>

    Hy,

    I've searched the forum but I found a good solution...

    I can`t stop the movie and it`s not playing when it`s opened.
    [size=10]

    <plugin name="spot1" url="hotspots_on.png" scale="1" alpha="1" zorder="2" origin="bottom" width="150" edge="center" y="70" x="-148" state="closed" onhover="showtext(Show Video);" onclick="action(play_video)"/>
    <plugin name="spot2" url="videoStop.png" scale="1" alpha="1" zorder="2" origin="bottom" width="150" edge="center" y="70" x="68" state="closed" onhover="showtext(Hide Video);" onclick="plugin[video].stop();"/>
    <action name="play_video">
    set(plugin[videospot].visible,true); set(plugin[videospot].resume()); set(plugin[info_video].alpha,0); set(plugin[info_video].textblur,15); set(plugin[info_video].blur,15); set(plugin[info_video].visible,true); set(plugin[info_video].enabled,true); tween(plugin[info_video].alpha,0.75,0.3); tween(plugin[info_video].textblur,0,0.3); tween(plugin[info_video].blur,0,0.3); set(plugint[videospot].alpha,0; set(plugin[videospot].blur,15; set(plugin[videospot].enabled,true; tween(plugin[videospot].alpha,0.75,0.3); tween(plugin[videospot].textblur,0,0.3); tween(plugin[videospot].blur,0,0.3);
    </action>
    <action name="hide_video">
    set(plugin[videospot].visible,false); tween(plugin[info_video].alpha,0,0.5); tween(plugin[info_video].textblur,0,0.5); tween(plugin[info_video].blur,0,0.5);delayedcall(0.5, set(plugin[info_video].visible,false); tween(plugin[videospot].alpha,0,0.5); tween(plugin[videospot].textblur,0,0.5); tween(plugin[videospot].blur,0,0.5);
    </action>
    <plugin name="videospot" url="plugins/videoplayer.swf" videourl="2.flv" altvideourl="2.flv" align="center" keep="false" ath="0" atv="0" zoom="false" distorted="false" width="320" height="180" scale="1.1339506501468726" scale9grid="" scalechildren="false" rotate="0" rx="0" ry="0" rz="0" edge="center" ox="" oy="" crop="" ondowncrop="" onovercrop="" visible="false" enabled="true" handcursor="true" capture="true" zorder="2" alpha="1.00" smoothing="true" refreshrate="auto" onhover="showtext(Video of Geysir);" onclick="togglepause();" buffertime="0.1" directionalsound="true" ismovie="false" ispaused="true" loop="true" onvideocomplete="" pausedonstart="true" range="300" updateeveryframe="true" volume="1"/>
    <plugin name="info_video" url="plugins/textfield.swf" zorder="1" keep="false" html="data:info_html" css="p{color:#FFFFFF; font-family:Arial; font-size:18; margin:15; text-align:center; }h2{color:#53a6c4;font-family:Arial; font-size:20; margin:15; text-align:center; font-weight:bold}h3{color:#FFFFFF;font-family:Arial; font-size:16; margin:15; text-align:center; }h4{color:#cccccc;font-family:Arial; font-size:12; margin:15; text-align:center; }" visible="false" children="true" scalechildren="true" width="500" height="500" backgroundcolor="0x000000" roundedge="5" shadow="1" borderwidth="0" glow="4" blur="5" textblur="50" textglow="4" textglowcolor="0x555555" align="center" x="0" y="0" autosize="center" onclick="action(hide_video);"/>
    <data name="info_html">
    <p>
    <br/>
    <h2>Video will appear here</h2>
    </p>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <a href="event:action(hidewindow,htmltext);action(showbutton);">close window</a>
    <br/>
    <br/>
    </data>
    What is the problem? I can hear the sound ... *unsure*</plugin></plugin></plugin></plugin>

    Better idea use crop and onavercrop
    make your hotspot image as two state image one is normal and below over state
    and then set crop and onovercrop

    the image changing automaticaly

    Regards
    Andrey *thumbup*

    How ? If i have an hotspot with rez 200widex100?

    I make-it an png file 2 diferentent in a oane file 200x200... but how to put to move? Exemple of code pls? *confused*

    It don`t work...

    I have
    <hotspot name="spot0" onclick="mainloadpano(hotel1.xml);" url="hoteldata/graphics/spots/up0.png" onhover="showtext('Join');" ath="376.174" atv="10.4651" width="80" height="80"/>


    I tried with :
    <hotspot url="hoteldata/graphics/spots/up0.png" onover="set(url, hoteldata/graphics/spots/up0.png);" onout="set(url, hoteldata/graphics/spots/up1.png); />

    It give`s me an error ... !

    I created an button and i put it in leftbottom... when i click on it i want to open a box with an email form... to send an email for a specific email adress.

    I tried with the box in the example here : https://krpano.com/plugins/textfield/#top . but we did...

    I try to implement this code:

    Code
    <script type="text/javascript">	var flashvars = {};	var params = {		menu: "false",		quality: "high",		scale: "noscale",		salign: "tl",		wmode: "window",		bgcolor: "#ffffff",		allowscriptaccess: "always"	};	var attributes = {id:"flashcontent"};	swfobject.embedSWF("contact_form.swf", "flashcontent", "410", "230", "9", false, flashvars, params, attributes);</script>

    If i make an html form with redirection on contact.php, will go? *confused*

    Yea ... but it a big code *blink*

    <hotspot name="spot"
    url="image1.jpg"
    distorted="true"
    ath="0"
    atv="0"
    scale="1.0"
    rx="0" ry="0" rz="0"
    zorder="1"
    onover="set(hotspot[spot_over].visible,true); tween(hotspot[spot_over].alpha,1,0.5,default);"
    onout="tween(hotspot[spot_over].alpha,0,0.5,default, set(hotspot[spot_over].visible,false));"
    onclick="looktohotspot(get(name), 60);"
    />

    <hotspot name="spot_over"
    url="image2.jpg"
    zorder="2"
    visible="false"
    enabled="false"
    alpha="0"
    onloaded="copyhotspotsettingsfrom(spot);"
    />

    <action name="copyhotspotsettingsfrom">
    copy(distorted, hotspot[%1].distorted);
    copy(ath, hotspot[%1].ath);
    copy(atv, hotspot[%1].atv);
    copy(scale, hotspot[%1].scale);
    copy(rx, hotspot[%1].rx);
    copy(ry, hotspot[%1].ry);
    copy(rz, hotspot[%1].rz);
    </action>

    </krpano>


    And how i set position? I tried with align="" position="" but nothing..:(

    I can make some like this?
    <img src="images1.jpg" alt="" onmouseover="this.src='images2.jpg';" onmouseout="this.src='images1.jpg';" />


    A small code with an over image... and if i want to ad url i added <a href='"> *mellow*

    You don`t understand me...


    I have 100 hotspot in my tour. And i want for each hotspot ... an black shadow and a glow... i created my hotpot in photoshop just like a arrow. First png file is a simple arrow ... secound is with glow,stroke and drop shadow.

    I want for all hotspot to view my hotsport normal (first hostpot) and when i move the mouse on him to change with secound hotspot.

    How can i make this? Try to give me pls an exemple to understand...

    I don`t understand you ...
    talk to me like I'm being an expert !


    So :[align=-webkit-auto]I Unable to make a menu with buttons .. but i will try with combobox and a logo up...
    [/align][align=-webkit-auto]

    <plugin name="combobox" url="hoteldata/graphics/combobox.swf" preload="true" keep="true" align="righttop" x="8" y="120" rowcount="10">
    <item name="combobox0" caption="1" onClick="mainloadpano(hotel0.xml);"/>
    <item name="combobox1" caption="2" onClick="mainloadpano(hotel1.xml);"/>
    <item name="combobox2" caption="3" onClick="mainloadpano(hotel2.xml);"/>

    After all items... when i add this :

    <scene name="1" onstart="showtext(Welcome !, infostyle);">
    It`s show me an error... why?

    I do not really like this combobox but another solution don`t have... If i have an exemple with can i make a meniu like in my atachments...will be beautifull.[/align]

    For each hotspot i must to have an this code ? I want to have an hotspot with mouseover ... when i move mouse on hotspot... it appears shadows or anything i want...
    <img src="imagine.jpg" alt="" onmouseover="this.src='imagine2.jpg';" onmouseout="this.src='imagine.jpg';" />

    SOme like :

    Code
    <hotspot name="spot"             url="image1.jpg"             distorted="true"             ath="0"             atv="0"             scale="1.0"             rx="0" ry="0" rz="0"             zorder="1"             onover="set(hotspot[spot_over].visible,true); tween(hotspot[spot_over].alpha,1,0.5,default);"             onout="tween(hotspot[spot_over].alpha,0,0.5,default, set(hotspot[spot_over].visible,false));"             onclick="looktohotspot(get(name), 60);"             />                 <hotspot name="spot_over"             url="image2.jpg"             zorder="2"             visible="false"             enabled="false"             alpha="0"             onloaded="copyhotspotsettingsfrom(spot);"             />                           <action name="copyhotspotsettingsfrom">        copy(distorted, hotspot[%1].distorted);        copy(ath, hotspot[%1].ath);        copy(atv, hotspot[%1].atv);        copy(scale, hotspot[%1].scale);        copy(rx, hotspot[%1].rx);        copy(ry, hotspot[%1].ry);        copy(rz, hotspot[%1].rz);    </action>
    </krpano>

    I don`t understand how it works overin ... or what it say...

    I have on logos this code :

    Code


    And how i can make`it him to change logo2.png on i have the mouse on him. *blink*

    I don`t understand this mouseover... *cursing*

    Pls somebody explain me... *confused*

    I tested ..:

    Code
    copy(distorted, hotspot[%1].distorted);        copy(ath, hotspot[%1].ath);        copy(atv, hotspot[%1].atv);        copy(scale, hotspot[%1].scale);        copy(rx, hotspot[%1].rx);        copy(ry, hotspot[%1].ry);        copy(rz, hotspot[%1].rz);

    But i can`t move from center to put in rightbottom...! *wacko*...</plugin>