Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Hey guys,
Today I'm pleased to announce the availability of the newest beta version of SWFAddress plugin. It contains useful new features and bug fixes, so you shouldn't miss it!
Since the last release I've got a lot of feedback and feature requests from the users of the plugin. The most of them were implemented in the new version
I would also like to thank Klaus and all beta testers for their help.
Regards,
Alexandr
Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »igor.socha« (16. April 2013, 19:44)
www.tirol-images.com/panorama/kaernten/veldener_traumschiff9
Something is still wrong. There is some problem with facebook sharer while approaching it with firefox, or opera. chrome is ok.
www.tirol-images.com/panorama/kaernten/veldener_traumschiff
Something is still wrong. There is some problem with facebook sharer while approaching it with firefox, or opera. chrome is ok.
What is exactly wrong? Everything works fine for me in Firefox on Mac OS 10.8.3.
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »igor.socha« (16. April 2013, 19:45)
I tried on another computer (win7 64bit) and the same: chrome ok, opera&firefox not :(
Hey guys,
New plugin: Navigator
Meet a nice little addition to flat panoramas - Navigator Plugin. It should help to quickly navigate the gigapixel images. Check out the demo.
I would love to hear your thoughts about this plugin!
Thanks for your attention and stay tuned for more!
Best regards,
Alexandr

Hello.
I try to use your plugin with Autopanotour Pro. And it works well.
I bought yesterday
Unfortunately, I have intro-Little Planet. However, when I load the virtual tour with your plugin and with the normal address, the pano1 is automatically loaded, the effect disappears and the introduction page also. How do I?
In advance thank you.
Here is my site without your plugin for example:
http://autrepointdevue.com/blog/wp-conte…vrockerill.html
Sorry for my english
Hi jaydee!
Thank you for update of SWFADDRESS!
And very cool new Navigation plugin for flat panoramas! It's amazing and very usable!
I think it is useful and necessary plug-in! Similarly, how to move around in the navigator window in Photoshop. You want to sell?
When are you planning?
Good luck!
![]()
|
|
Quellcode |
1 2 |
<krpano version="1.16.2" title="Virtual Big Bend" onstart="wait(0);startup();"> <include url="progress_loadinganimation.xml"/> <include url="plugins/swfaddress.xml"/> <plugin name="soundinterface" url="plugins/soundinterface.swf" alturl="plugins/soundinterface.js" rootpath="" preload="true" keep="true"/> <plugin name="compass" url="images/compass.png" keep="true" zorder="5" children="false" align="righttop" x="10" y="10" scale="1.0" scalechildren="true" destscale="1.0" onclick="switch (destscale,1.0,0.5);tween(scale,get(destscale));" heading="0"/> <plugin name="compass_pointer" url="images/compass_pointer.png" keep="true" handcursor="false" parent="compass" zorder="5" align="center"/> <plugin name="glass" devices="flash" url="images/glass.jpg" keep="true" enabled="false" blendmode="screen" alpha="0.5" parent="compass" zorder="6" align="center"/><!-- enable autorotation --> <autorotate enabled="true" waittime="3.0" accel="0.5" speed="3" horizon="0" tofov="100"/> <events name="backbutton_adjust" onxmlcomplete="if(layer[backbutton], set(layer[backbutton].y,190));" /> <include url="skin/vtourskin2.xml" zorder="1"/> <!-- set skin settings: bingmaps? gyro? --> <skin_settings bingmaps="true" bingmaps_key="An4-9WoANqtASVorNezSjENest2VC0zoAzvMhEpdTjb3uY-k6u6bMkPxYpDsolsF" bingmaps_zoombuttons="false" gyro="true" thumbs_width="80" thumbs_height="80" thumbs_padding="10" thumbs_crop="" thumbs_opened="false" thumbs_text="true" thumbs_dragging="true" thumbs_onhoverscrolling="false" thumbs_scrollbuttons="true" thumbs_scrollindicator="false" tooltips_thumbs="false" tooltips_hotspots="false" tooltips_mapspots="false" controlbar_offset="20" /> <action name="startup"> if(startscene === null, copy(startscene,scene[0].name)); loadscene(get(startscene), null, MERGE); </action> <contextmenu fullscreen="true"> </contextmenu> <action name="selectspot"> plugin[map].pantospot(%1); plugin[map].activatespot(%1); </action> <style name="hotspotstyle" ondown="onover();" onup="onout();" onover="tween(alpha,1);tween(scale,1);" zoom="true" scale="0.6" onout="tween(alpha,0.3);tween(scale,0.6);" alpha="0.3" /> <scene name="scene1" title="Emory Peak" thumburl="spots/spot1.png" onstart="selectspot(scene1);" lat="29.247676" lng="-103.307675" heading="0.0"> <plugin name="mask" url="images/vignetting.png" blendmode="multiply" align="lefttop" width="100%" height="100%" enabled="false" zorder="0"/> <events onxmlcomplete="startup();" onviewchange="rotatecompasses();"/> <events name="currentpano" onnewpano="playsound(bgsnd, 'music/1_Elevate.mp3|music/1_Elevate.ogg', 0);" onremovepano="stopsound(bgsnd);"/> <plugin name="snd" url="images/soundonoff.png" align="lefttop" x="10" y="10" alpha="0.25" scale="0.5" onover="tween(alpha,1);" onout="tween(alpha,0.25);" crop="0|0|50|50" onloaded="if(ismobile,set(scale,1));" onclick="pausesoundtoggle(bgsnd); switch(crop, 0|0|50|50, 0|50|50|50);" zorder="7"/> <plugin name="email_button" url="images/email.png" align="bottomright" x="10" y="75" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view via e-mail);" onclick="share_via_email();" /> <plugin name="pinterest_button" url="images/pinterest.png" align="bottomright" x="10" y="115" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view on Pinterest);" onclick="share_on_pinterest();" /> <plugin name="twitter_button" url="images/twitter.png" align="bottomright" x="10" y="155" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view on Twitter);" onclick="share_on_twitter();" /> <plugin name="googleplus_button" url="images/googleplus.png" align="bottomright" x="10" y="195" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view on Google+);" onclick="share_on_googleplus();" /> <plugin name="facebook_button" url="images/facebook.png" align="bottomright" x="10" y="235" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view on Facebook);" onclick="share_on_facebook();" /> <action name="startup"> add_scenes_to_swfaddress(); </action> <action name="startup"> set(heading, -10); action(add_compass_spots); </action> <action name="rotatecompasses"> sub(plugin[compass_pointer].rotate, view.hlookat, heading); sub(plugin[compass2_plate].rotate, heading, view.hlookat); </action> <events onxmlcomplete="startup();" onviewchange="rotatecompasses();"/> <view fovmin="15" fovmax="100.00" hlookat="106.21" fov="90" vlookat="-27.31" /> <lensflare name="lf0" set="DEFAULT" ath="89.88" atv="-32.73" /> <preview url="p4n05/1_cubestrip.jpg" type="cubestrip" /> <image> <cube url="p4n05/1_%s.jpg" /> </image> <hotspot style="hotspotstyle" url="spots/spot2.png" ath="27.183" atv="5.960" name="spot2" onclick="looktohotspot(spot2); loadscene(scene2, null, MERGE, BLEND(1));" /> </scene> <scene name="scene2" title="Casa Grande Summit (Window View)" thumburl="spots/spot2.png" lat="29.268392" lng="-103.290285" heading="0.0" onstart="selectspot(scene2);"> <plugin name="mask" url="images/vignetting.png" blendmode="multiply" align="lefttop" width="100%" height="100%" enabled="false" zorder="1"/> <events name="currentpano" onnewpano="playsound(bgsnd, 'music/1_Elevate.mp3|music/1_Elevate.ogg', 0);" onremovepano="stopsound(bgsnd);"/> <plugin name="snd" url="images/soundonoff.png" align="lefttop" x="10" y="10" alpha="0.25" scale="0.5" onover="tween(alpha,1);" onout="tween(alpha,0.25);" crop="0|0|50|50" onloaded="if(ismobile,set(scale,1));" onclick="pausesoundtoggle(bgsnd); switch(crop, 0|0|50|50, 0|50|50|50);" zorder="7"/> <plugin name="email_button" url="images/email.png" align="bottomright" x="10" y="75" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view via e-mail);" onclick="share_via_email();" /> <plugin name="pinterest_button" url="images/pinterest.png" align="bottomright" x="10" y="115" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view on Pinterest);" onclick="share_on_pinterest();" /> <plugin name="twitter_button" url="images/twitter.png" align="bottomright" x="10" y="155" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view on Twitter);" onclick="share_on_twitter();" /> <plugin name="googleplus_button" url="images/googleplus.png" align="bottomright" x="10" y="195" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view on Google+);" onclick="share_on_googleplus();" /> <plugin name="facebook_button" url="images/facebook.png" align="bottomright" x="10" y="235" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view on Facebook);" onclick="share_on_facebook();" /> <action name="startup"> add_scenes_to_swfaddress(); </action> <action name="startup"> set(heading, 0); action(add_compass_spots); </action> <action name="rotatecompasses"> sub(plugin[compass_pointer].rotate, view.hlookat, heading); sub(plugin[compass2_plate].rotate, heading, view.hlookat); </action> <events onxmlcomplete="startup();" onviewchange="rotatecompasses();"/> <view fovmin="15" fovmax="100" hlookat="-110.518" fov="72.096" vlookat="1.800" /> <preview url="p4n05/2_cubestrip.jpg" type="cubestrip" /> <image> <cube url="p4n05/2_%s.jpg" /> </image> <hotspot style="hotspotstyle" url="spots/spot1.png" ath="-111.280" atv="-2.480" name="spot1" onclick="looktohotspot(spot1); loadscene(scene1, null, MERGE, BLEND(1));" /> <hotspot style="hotspotstyle" url="spots/spot3.png" ath="126.982" atv="-4.607" name="spot3" onclick="looktohotspot(spot3); loadscene(scene3, null, MERGE, BLEND(1));" /><hotspot style="hotspotstyle" url="spots/spot4.png" ath="27.183" atv="5.960" name="spot4" onclick="looktohotspot(spot4); loadscene(scene4, null, MERGE, BLEND(1));" /> </scene> <scene name="scene3" title="Casa Grande Summit (Green Gulch View)" thumburl="spots/spot3.png" lat="29.268281" lng="-103.288511" heading="0.0" onstart="selectspot(scene3);"> <plugin name="mask" url="images/vignetting.png" blendmode="multiply" align="lefttop" width="100%" height="100%" enabled="false" zorder="1"/> <events name="currentpano" onnewpano="playsound(bgsnd, 'music/1_Elevate.mp3|music/1_Elevate.ogg', 0);" onremovepano="stopsound(bgsnd);"/> <plugin name="snd" url="images/soundonoff.png" align="lefttop" x="10" y="10" alpha="0.25" scale="0.5" onover="tween(alpha,1);" onout="tween(alpha,0.25);" crop="0|0|50|50" onloaded="if(ismobile,set(scale,1));" onclick="pausesoundtoggle(bgsnd); switch(crop, 0|0|50|50, 0|50|50|50);" zorder="7"/> <plugin name="email_button" url="images/email.png" align="bottomright" x="10" y="75" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view via e-mail);" onclick="share_via_email();" /> <plugin name="pinterest_button" url="images/pinterest.png" align="bottomright" x="10" y="115" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view on Pinterest);" onclick="share_on_pinterest();" /> <plugin name="twitter_button" url="images/twitter.png" align="bottomright" x="10" y="155" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view on Twitter);" onclick="share_on_twitter();" /> <plugin name="googleplus_button" url="images/googleplus.png" align="bottomright" x="10" y="195" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view on Google+);" onclick="share_on_googleplus();" /> <plugin name="facebook_button" url="images/facebook.png" align="bottomright" x="10" y="235" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view on Facebook);" onclick="share_on_facebook();" /> <action name="startup"> add_scenes_to_swfaddress(); </action> <action name="startup"> set(heading, 0); action(add_compass_spots); </action> <action name="rotatecompasses"> sub(plugin[compass_pointer].rotate, view.hlookat, heading); sub(plugin[compass2_plate].rotate, heading, view.hlookat); </action> <events onxmlcomplete="startup();" onviewchange="rotatecompasses();"/> <view fovmin="15" fovmax="100" hlookat="-174" fov="75" vlookat="5" /> <preview url="p4n05/3_cubestrip.jpg" type="cubestrip" /> <image> <cube url="p4n05/3_%s.jpg" /> </image> <hotspot style="hotspotstyle" url="spots/spot2.png" ath="0" atv="0" name="spot2" onclick="looktohotspot(spot2); loadscene(scene2, null, MERGE, BLEND(1));" /><hotspot style="hotspotstyle" url="spots/spot4.png" ath="0" atv="0" name="spot4" onclick="looktohotspot(spot4); loadscene(scene4, null, MERGE, BLEND(1));" /> </scene> <scene name="scene4" title="Casa Grande Meadow" thumburl="spots/spot4.png" lat="29.268281" lng="-103.288586" heading="0.0" onstart="selectspot(scene4);"> <plugin name="mask" url="images/vignetting.png" blendmode="multiply" align="lefttop" width="100%" height="100%" enabled="false" zorder="1"/> <events name="currentpano" onnewpano="playsound(bgsnd, 'music/1_Elevate.mp3|music/1_Elevate.ogg', 0);" onremovepano="stopsound(bgsnd);"/> <plugin name="snd" url="images/soundonoff.png" align="lefttop" x="10" y="10" alpha="0.25" scale="0.5" onover="tween(alpha,1);" onout="tween(alpha,0.25);" crop="0|0|50|50" onloaded="if(ismobile,set(scale,1));" onclick="pausesoundtoggle(bgsnd); switch(crop, 0|0|50|50, 0|50|50|50);" zorder="7"/> <plugin name="email_button" url="images/email.png" align="bottomright" x="10" y="75" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view via e-mail);" onclick="share_via_email();" /> <plugin name="pinterest_button" url="images/pinterest.png" align="bottomright" x="10" y="115" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view on Pinterest);" onclick="share_on_pinterest();" /> <plugin name="twitter_button" url="images/twitter.png" align="bottomright" x="10" y="155" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view on Twitter);" onclick="share_on_twitter();" /> <plugin name="googleplus_button" url="images/googleplus.png" align="bottomright" x="10" y="195" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view on Google+);" onclick="share_on_googleplus();" /> <plugin name="facebook_button" url="images/facebook.png" align="bottomright" x="10" y="235" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view on Facebook);" onclick="share_on_facebook();" /> <action name="startup"> add_scenes_to_swfaddress(); </action> <action name="startup"> set(heading, 0); action(add_compass_spots); </action> <action name="rotatecompasses"> sub(plugin[compass_pointer].rotate, view.hlookat, heading); sub(plugin[compass2_plate].rotate, heading, view.hlookat); </action> <events onxmlcomplete="startup();" onviewchange="rotatecompasses();"/> <view fovmin="15" fovmax="100" hlookat="-174" fov="75" vlookat="5" /> <preview url="p4n05/4_cubestrip.jpg" type="cubestrip" /> <image> <cube url="p4n05/4_%s.jpg" /> </image> <hotspot style="hotspotstyle" url="spots/spot2.png" ath="0" atv="0" name="spot2" onclick="looktohotspot(spot2); loadscene(scene2, null, MERGE, BLEND(1));" /><hotspot style="hotspotstyle" url="spots/spot1.png" ath="0" atv="0" name="spot1" onclick="looktohotspot(spot1); loadscene(scene1, null, MERGE, BLEND(1));" /><hotspot style="hotspotstyle" url="spots/spot3.png" ath="0" atv="0" name="spot3" onclick="looktohotspot(spot3); loadscene(scene3, null, MERGE, BLEND(1));" /><hotspot style="hotspotstyle" url="spots/spot5.png" ath="0" atv="0" name="spot5" onclick="looktohotspot(spot5); loadscene(scene5, null, MERGE, BLEND(1));" /> </scene> <scene name="scene5" title="Casa Grande Summit" thumburl="spots/spot5.png" lat="29.267458" lng="-103.287615" heading="0.0" onstart="selectspot(scene5);"> <plugin name="mask" url="images/vignetting.png" blendmode="multiply" align="lefttop" width="100%" height="100%" enabled="false" zorder="1"/> <events name="currentpano" onnewpano="playsound(bgsnd, 'music/1_Elevate.mp3|music/1_Elevate.ogg', 0);" onremovepano="stopsound(bgsnd);"/> <plugin name="snd" url="images/soundonoff.png" align="lefttop" x="10" y="10" alpha="0.25" scale="0.5" onover="tween(alpha,1);" onout="tween(alpha,0.25);" crop="0|0|50|50" onloaded="if(ismobile,set(scale,1));" onclick="pausesoundtoggle(bgsnd); switch(crop, 0|0|50|50, 0|50|50|50);" zorder="7"/> <plugin name="email_button" url="images/email.png" align="bottomright" x="10" y="75" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view via e-mail);" onclick="share_via_email();" /> <plugin name="pinterest_button" url="images/pinterest.png" align="bottomright" x="10" y="115" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view on Pinterest);" onclick="share_on_pinterest();" /> <plugin name="twitter_button" url="images/twitter.png" align="bottomright" x="10" y="155" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view on Twitter);" onclick="share_on_twitter();" /> <plugin name="googleplus_button" url="images/googleplus.png" align="bottomright" x="10" y="195" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view on Google+);" onclick="share_on_googleplus();" /> <plugin name="facebook_button" url="images/facebook.png" align="bottomright" x="10" y="235" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Share this view on Facebook);" onclick="share_on_facebook();" /> <action name="startup"> add_scenes_to_swfaddress(); </action> <action name="startup"> set(heading, 0); action(add_compass_spots); </action> <action name="rotatecompasses"> sub(plugin[compass_pointer].rotate, view.hlookat, heading); sub(plugin[compass2_plate].rotate, heading, view.hlookat); </action> <events onxmlcomplete="startup();" onviewchange="rotatecompasses();"/> <view fovmin="15" fovmax="100" hlookat="-174" fov="75" vlookat="5" /> <preview url="p4n05/5_cubestrip.jpg" type="cubestrip" /> <image> <cube url="p4n05/5_%s.jpg" /> </image> <hotspot style="hotspotstyle" url="spots/spot1.png" ath="0" atv="0" name="spot1" onclick="looktohotspot(spot1); loadscene(scene1, null, MERGE, BLEND(1));" /> </scene> |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<krpano> <!-- Email Share Data --> <data name="email_url" content="mailto:david@fullmoon.us?subject={SUBJECT}&body={BODY}{URL}"/> <data name="email_share_subject_text" content="Check out this view in Big Bend National Park!"/> <data name="email_share_body_text" content="I really liked this view from VirtualBigBend.com! %0D%0A"/> <!-- Facebook Share Data --> <data name="facebook_url" content="http://www.facebook.com/sharer.php?s=100&p[title]={TITLE}&p[url]={URL}&p[images][0]={IMAGE}&p[summary]={TEXT}"/> <data name="facebook_share_title" content="VIRTUAL TOUR of Big Bend National Park"/> <data name="facebook_share_text" content="Check out this view in Big Bend National Park from VirtualBigBend.com"/> <data name="facebook_share_image" content="http://www.virtualbigbend.com/images/vbb-avatar.jpg"/> <!-- Facebook Mobile Share Data --> <data name="facebook_mobile_url" content="http://m.facebook.com/sharer.php?u={URL}&t={TITLE}"/> <data name="facebook_mobile_share_title" content="I really liked this view from VirtualBigBend.com"/>
<!-- Twitter Share Data --> <data name="twitter_url" content="http://twitter.com/share?url={URL}&text={TEXT}"/> <data name="twitter_share_text" content="I really liked this view from VirtualBigBend.com"/> <!-- Google Plus Share Data --> <data name="google_plus_url" content="https://plus.google.com/share?url={URL}"/>
<!-- Pinterest Share Data --> <data name="pinterest_url" content="http://pinterest.com/pin/create/button/?url={URL}&description={DESCRIPTION}&media={IMAGE}"/> <data name="pinterest_share_description" content="Check out this view in Big Bend National Park from VirtualBigBend.com"/> <data name="pinterest_share_image" content="http://www.virtualbigbend.com/images/vbb-avatar.jpg"/>
<!-- Plugins --> <plugin name="swfaddress" url="../plugins/sa.swf" alturl="../plugins/sa.js" keep="true" preload="true" mode="auto" randomRoot="false" titlePrefix="Virtual tour: " titlePostfix=""
bitlyAPIKey="R_af1c24a3def15beb3c895e865dbbbc1f" bitlyLogin="bigbendchat"
onURLChange="" onParamsChange="" > <pano name="pano1" scene="scene1" pageurl="/Emory-Peak/" pagetitle="Emory Peak" /> <pano name="pano2" scene="scene2" pageurl="/Casa-Grande-Window-View/" pagetitle="Casa Grande (Window View from Summit)" /> <pano name="pano3" scene="scene3" pageurl="/Casa-Grande-Green-Gulch/" pagetitle="Casa Grande (Green Gulch View)" /> <pano name="pano4" scene="scene4" pageurl="/Casa-Grande-Meadow/" pagetitle="Casa Grande Meadow" /> <pano name="pano5" scene="scene5" pageurl="/Casa-Grande-Summit/" pagetitle="Casa Grande Summit" /> </plugin> <!-- Actions --> <action name="activatepano"> if (%1 != null, if (get(action[mainloadpano].content) !== null, if (%2 == xml, mainloadpano(http://www.virtualbigbend.com/krpano/%1), mainloadpano(%1)), if (%2 == xml, loadpano(http://www.virtualbigbend.com/krpano/%1,null,KEEPBASE,BLEND(1)), loadscene(%1,null,KEEPBASE,BLEND(1))); wait(blend); ) ); </action> <action name="paramschangeaction"> ifnot (plugin[swfaddress].hasparams === false, parseparams(); plugin[swfaddress].removeparams();); </action>
<action name="parseparams"> plugin[swfaddress].getParam(ath, p_ath); plugin[swfaddress].getParam(atv, p_atv); plugin[swfaddress].getParam(fov, p_fov);
ifnot (get(p_ath), copy(p_ath, view.hlookat)); ifnot (get(p_atv), copy(p_atv, view.vlookat)); ifnot (get(p_fov), copy(p_fov, view.fov));
lookto(get(p_ath), get(p_atv), get(p_fov)); </action> <action name="shorten_view_url"> plugin[swfaddress].shorten(get(plugin[swfaddress].viewurl)); </action> <action name="replace_string"> plugin[swfaddress].replace(%1, %1, %2, %3); </action>
<action name="open_link"> if (ishtml5, plugin[swfaddress].replaceampersands(get(%1), %1)); if (ishtml5, set(data[link_target].content, '_self'), set(data[link_target].content, '_blank')); if (plugin[swfaddress].isiframe, set(data[link_target].content, '_top')); openurl(get(%1), get(data[link_target].content)))); </action> <action name="add_scenes_to_swfaddress"> set(plugin[swfaddress].onURLChange, null); set(plugin[swfaddress].onParamsChange, null); for (set(i,0), i LT scene.count, inc(i), if (get(scene[get(i)].url), copy(data[s.url].content, scene[get(i)].url), copy(data[s.url].content, scene[get(i)].name)); plugin[swfaddress].addPano(get(scene[get(i)].name), get(scene[get(i)].name), true, get(data[s.url].content), get(scene[get(i)].title), get(scene[get(i)].onxmlcomplete)); );
set(plugin[swfaddress].onURLChange, activatepano(%PANOID%, %TYPE%)); set(plugin[swfaddress].onParamsChange, paramschangeaction());
plugin[swfaddress].forceDispatchURLChange(); </action>
<!-- Share via e-mail actions --> <action name="share_via_email"> set(plugin[swfaddress].onShortenSuccess, share_url_via_email(%URL%)); shorten_view_url(); </action> <action name="share_url_via_email"> copy(data[link].content, data[email_url].content); replace_string(data[link].content, '{URL}', %1); replace_string(data[link].content, '{SUBJECT}', get(data[email_share_subject_text].content)); replace_string(data[link].content, '{BODY}', get(data[email_share_body_text].content));
open_link(data[link].content); </action> <!-- Share on Facebook actions --> <action name="share_on_facebook"> set(plugin[swfaddress].onShortenSuccess, share_url_on_facebook(%URL%)); shorten_view_url(); </action> <action name="share_url_on_facebook" devices="desktop"> copy(data[link].content, data[facebook_url].content); replace_string(data[link].content, '{URL}', %1); replace_string(data[link].content, '{TITLE}', get(data[facebook_share_title].content)); replace_string(data[link].content, '{IMAGE}', get(data[facebook_share_image].content)); replace_string(data[link].content, '{TEXT}', get(data[facebook_share_text].content));
open_link(data[link].content); </action>
<action name="share_url_on_facebook" devices="mobile|tablet"> copy(data[link].content, data[facebook_mobile_url].content); replace_string(data[link].content, '{URL}', %1); replace_string(data[link].content, '{TITLE}', get(data[facebook_mobile_share_title].content));
open_link(data[link].content); </action> <!-- Share on Twitter actions --> <action name="share_on_twitter"> set(plugin[swfaddress].onShortenSuccess, share_url_on_twitter(%URL%)); shorten_view_url(); </action> <action name="share_url_on_twitter"> copy(data[link].content, data[twitter_url].content); replace_string(data[link].content, '{URL}', %1); replace_string(data[link].content, '{TEXT}', get(data[twitter_share_text].content));
open_link(data[link].content); </action>
<!-- Share on Google+ actions --> <action name="share_on_googleplus"> set(plugin[swfaddress].onShortenSuccess, share_url_on_googleplus(%URL%)); shorten_view_url(); </action> <action name="share_url_on_googleplus"> copy(data[link].content, data[google_plus_url].content); replace_string(data[link].content, '{URL}', %1);
open_link(data[link].content); </action> <!-- Share on Pinterest --> <action name="share_on_pinterest"> copy(data[link].content, data[pinterest_url].content); replace_string(data[link].content, '{URL}', get(plugin[swfaddress].viewurlescaped)); replace_string(data[link].content, '{DESCRIPTION}', get(data[pinterest_share_description].content)); replace_string(data[link].content, '{IMAGE}', get(data[pinterest_share_image].content)); open_link(data[link].content); </action></krpano>
|
|
|
Quellcode |
1 2 3 |
<action name="startup"> if(startscene === null, copy(startscene,scene[0].name)); (get(startscene), null, MERGE); </action> |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »360Dave« (20. Mai 2013, 21:39)
Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »360Dave« (20. Mai 2013, 22:38)
I'm so dang confused now, I don't even know which end is up anymore......So, eventhough my links work now, many of my plugins are now missing, such as my vignette, my social network icons, my audio control button, all gone.
anyone care to help, I'd be much obliged......
my testing stage.....
http://www.virtualbigbend.com/krpano
http://www.virtualbigbend.com/krpano/tour.xml
http://www.virtualbigbend.com/krpano/smfaddress.xml
UPDATE:
I've managed to get the addresses to work properly and still have the plugins visible, but I'm still getting this annoying error message regarding "no parent "skin_thumb_null" found"
I'm sure this is something that can be easily fixed by someone who knows what they're doing.
SECOND UPDATE:
Now everything seems to be working ok, no error messages. I don't get it.