Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Hi guys,.
Wondering on this simple viewer thing.....I followed the examples and think I got it, but as it goes to load, I get a message top left corner stating "embedding in flash requires simplviewer Pro".....is that the case now or am i doing something wrong??? Is there an alternative to use? Thanks
Rob
i tested the code Klaus gave us , but there is a problem,when simple viewer loads it says that Upgrade to Pro version
does the exemple did by klaus was made with a PRO version of simple viewer?
all set,....found my error

|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
<krpano version="1.0.8" logkey="true">
<plugin name="showgallery"
url="frontondata/graphics/showgallery.png"
align="bottom" x="130" y="10" visible="true"
onclick="action(showgallery);" />
<plugin name="hidegallery"
url="frontondata/graphics/hidegallery.png"
align="bottom" x="130" y="10"
visible="false"
onclick="action(hidegallery);" />
<plugin name="gallery"
url="" visible="false" align="bottom" keep="true"/>
<plugin name="fond"
url="frontondata/graphics/fond.png"
keep="false"
visible="false" enabled="true" handcursor="false"
capture="true" children="true"
zorder="-20"
alpha="0.30" blendmode="normal"
smoothing="true"
origin="centre" edge="centre"
width="100%" height="100%"
scale="1"
/>
<action name="showgallery">
set(plugin[gallery].align,center);
set(plugin[showgallery].visible,false);
set(plugin[hidegallery].visible,true);
set(plugin[gallery].url,trinquet/simpleviewer.swf?xmlDataPath=trinquet/gallery.xml);
set(plugin[gallery].visible,true);
set(plugin[gallery].align,bottom);
set(plugin[fond].visible,true);
tween(plugin[fond].alpha,0.5,distance(1,0.15));
</action>
<action name="hidegallery">
set(plugin[showgallery].visible,true);
set(plugin[hidegallery].visible,false);
set(plugin[gallery].visible,false);
set(plugin[fond].visible,false);
tween(plugin[fond].alpha,0,distance(1,0.15));
</action>
<panoview h="-33.84" v="1.44" fov="90"/>
<view fisheye="0" limitview="lookat" vlookatmin="-90" vlookatmax="90" fovmin="55" fovmax="120" fov="90" hlookat="-33.84" vlookat="1.44"/>
<progress showload="none" showwait="none"/>
<preview url="frontondata/fronton0/preview.jpg"/>
<image type="CUBE" multires="true" tilesize="239" baseindex="0">
<level tiledimagewidth="1909" tiledimageheight="1909">
<left url="frontondata/fronton0/3/3/%v_%u.jpg"/>
<front url="frontondata/fronton0/0/3/%v_%u.jpg"/>
<right url="frontondata/fronton0/1/3/%v_%u.jpg"/>
<back url="frontondata/fronton0/2/3/%v_%u.jpg"/>
<up url="frontondata/fronton0/4/3/%v_%u.jpg"/>
<down url="frontondata/fronton0/5/3/%v_%u.jpg"/>
</level>
<level tiledimagewidth="955" tiledimageheight="955">
<left url="frontondata/fronton0/3/2/%v_%u.jpg"/>
<front url="frontondata/fronton0/0/2/%v_%u.jpg"/>
<right url="frontondata/fronton0/1/2/%v_%u.jpg"/>
<back url="frontondata/fronton0/2/2/%v_%u.jpg"/>
<up url="frontondata/fronton0/4/2/%v_%u.jpg"/>
<down url="frontondata/fronton0/5/2/%v_%u.jpg"/>
</level>
<level tiledimagewidth="478" tiledimageheight="478">
<left url="frontondata/fronton0/3/1/%v_%u.jpg"/>
<front url="frontondata/fronton0/0/1/%v_%u.jpg"/>
<right url="frontondata/fronton0/1/1/%v_%u.jpg"/>
<back url="frontondata/fronton0/2/1/%v_%u.jpg"/>
<up url="frontondata/fronton0/4/1/%v_%u.jpg"/>
<down url="frontondata/fronton0/5/1/%v_%u.jpg"/>
</level>
<level tiledimagewidth="239" tiledimageheight="239">
<left url="frontondata/fronton0/3/0/%v_%u.jpg"/>
<front url="frontondata/fronton0/0/0/%v_%u.jpg"/>
<right url="frontondata/fronton0/1/0/%v_%u.jpg"/>
<back url="frontondata/fronton0/2/0/%v_%u.jpg"/>
<up url="frontondata/fronton0/4/0/%v_%u.jpg"/>
<down url="frontondata/fronton0/5/0/%v_%u.jpg"/>
</level>
</image>
<hotspot name="spot0" onclick="loadpano(fronton4.xml);" url="frontondata/graphics/spots/spot0.png" onhover="showtext(Salle-bar);" ath="507.321" atv="20.479"/>
</krpano>
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<plugin name="photos" align="bottom" crop="0|0|65|65" customColor="true" height="prop" keep="true" action1or2="1" onclick="IF(action1or2 == 1, showgallery1(), hidegallery1()); switch(action1or2,2,1);" onovercrop="0|65|65|65" url="graphics/menu/menu16.png" width="40" x="-80" y="42"/> <plugin name="gallery1" url="" visible="false" alpha="0" /> <action name="showgallery1"> freezeview(true); set(plugin[gallery1].url,gallery1/simpleviewer.swf?xmlDataPath=gallery1/gallery1.xml); set(plugin[gallery1].visible,true); tween(plugin[gallery1].alpha,1,distance(1,0.15)); </action> <action name="hidegallery1"> tween(plugin[gallery1].alpha,0,distance(1,0.15),,action(closegallery1)); </action> <action name="closegallery1"> set(plugin[gallery].visible,false); freezeview(false); </action> |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
<plugin name="gallery" url="" visible="false" alpha="0" /> <action name="showgallery"> freezeview(true); set(plugin[gallery].url,gallery/simpleviewer.swf?xmlDataPath=gallery/gallery.xml); set(plugin[gallery].visible,true); tween(plugin[gallery].alpha,1,distance(1,0.15)); </action> <action name="hidegallery"> tween(plugin[gallery].alpha,0,distance(1,0.15),,action(closegallery)); </action> <action name="closegallery"> set(plugin[gallery].visible,false); freezeview(false); </action> |
Thanks a lot Marco, it's working perfectly now![]()