|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
<action name="showgallery">
set(plugin[gallery].freezeview, true);
set(plugin[showgallery].enable,false);
tween(plugin[showgallery].alpha,0,distance(1,0.15),,set(plugin[showgallery].visible,false));
set(plugin[hidegallery].enable,true);
set(plugin[hidegallery].visible,true);
tween(plugin[hidegallery].alpha,1,distance(1,0.15));
set(plugin[black].visible,true);
tween(plugin[black].alpha,0.5,distance(1,0.15));
set(plugin[gallery].url,simpleviewer.swf?xmlDataPath=gallery/gallery.xml);
set(plugin[gallery].visible,true);
tween(plugin[gallery].alpha,1,distance(1,0.15));
set(plugin[gallery].dropshadow(2,45,0x000000,3,1);
</action>
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
<action name="closegallery"> set(plugin[gallery].visible,false); set(plugin[logo].visible,true); tween(plugin[logo].alpha,1,distance(1,0.15)); set(plugin[hidegallery].enable,false); tween(plugin[hidegallery].alpha,0,distance(1,0.15),,set(plugin[hidegallery].visible,false)); set(plugin[showgallery].enable,true); set(plugin[showgallery].visible,true); tween(plugin[showgallery].alpha,1,distance(1,0.15)); tween(plugin[black].alpha,0,distance(1,0.15),,set(plugin[black].visible,flase)); </action> |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
<plugin name="black" url="images/bottom.jpg" 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" onloaded="" onover="" onhover="" onout="" ondown="" onup="" onclick="" ox="" oy="" rotate="0" /> |
|
|
Source code |
1 |
set(plugin[gallery].url,TiltViewer.swf?xmlURL=gallery.xml&useFlickr=false); |
|
|
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 |
<plugin name="showgallery" url="galerie hordagodata/graphics/galleryb1.png" align="bottom" x="-100" y="10" visible="true" onclick="action(showgallery);" />
<plugin name="hidegallery" url="galerie hordagodata/graphics/galleryb2.png" align="bottom" x="-100" y="10" visible="false" onclick="action(hidegallery);" />
<plugin name="gallery" url="" visible="false" align="bottom" keep="true"/>
<plugin name="fond"
url="galerie hordagodata/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[showgallery].visible,false);
set(plugin[hidegallery].visible,true);
set(plugin[gallery].url,simpleviewer.swf?xmlDataPath=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>
|
This post has been edited 1 times, last edit by "Boubou" (Feb 19th 2010, 10:33am)
There was a talk about this before and klaus mentioned that you cant use tiltviewer with krpano because of a "stage" thing issue with flash, i cant remember which thread. but.. I did see the tilt viewer open in your example but it disappeared and wont open again.. maybe its a newer version than the one talked about before.
|
|
Source code |
1 |
<div id="krpanoDIV"><embed type="application/x-shockwave-flash" src="krpano.swf" style="" id="krpanoSWFObject" name="krpanoSWFObject" quality="high" allowfullscreen="true" allowscriptaccess="always" flashvars="xmlURL=./plugins/gallery.xml,xml=3.xml" width="100%" height="100%"></div> |
|
|
Source code |
1 |
set(plugin[gallery].url, ./plugins/tiltviewer.swf?useFlickr=false&xmlURL=gallery.xml); |
This post has been edited 3 times, last edit by "michel" (Feb 27th 2010, 10:21pm)